contracts's People
Forkers
ronaldzgithub cootieshots jamesbluestorm quic-finance timothywangdev nls44 chimera-defi tombcaretaker imgntn outastracoin shinpooo hubble-money codeliftsleep z80dev 0xotoguro millzdk cleancoindev greenarrowdao dreesuschrist jithinks97 platypus-dev memetokens cryptomisttoken curiouslycory onimusya mounaimd nathanpaik brycechen1849 anhagape satishjaiswal casperyonel 63y89r2fj mauridevops valmirius serveapps frognationwizard 0xpharo zhmolly superqd metalloiddao burgossrodrigo formidaoble icalculated kriss1897 kurtwdev iaronrp gacwr bunsdev cryptostewie webeli mendella defimadafakaz t-digg brabbu sahel95 bitdeep engineearz nevaquit akifyuksel cruelu rebasedtherepo disrupthistory onaiko bajpai244 s1npur1ty spartadao pasqualelivecchi dnov09 saibon1980 timloh-gtoken dzungariadao vincbinar onepiecedao ddepot code-money-dao devinshawntripp 08351ty bennkingy acarulo theaksaa kittinutz itripleg lucky-patty emeraldlazer33 tribalgroupent timurista thetagmechewme essemmkay a4w2 edcohen08 febreeze joseph-michael coinmasterlisting rlkelly bourbontoken sws jianto87 enkuushp 0xum1ng cryptocyclops1contracts's Issues
How to distribute in rebase mechanism.
Hello, everyone.
I have researched wonderland contract and have learnt much more.
But I have some questions about rebase mechanism.
I have understood like this.
When user stake and/or unstake, rebase is performed.
And then function distributor in Distributor.sol is called.
But in that function, I have noticed there is an array variable called "info".
I understood this variable stores stakers' addresses. But I can't find when the user's address is added to this variable.
I have tried to find functions "addRecipient", "removeRecipient" and "setAdjustment" in contract and frontend, but have nothing.
Is there any other platform to call policy functions?
When is the user added to the info array variable?
Looking forward to your kind answers.
Thanks.
Use Local Memory Type Variable Instead of Global Storage Type Variable in Event to Save Gas
Hi, we recently have conducted a systematic study about Solidity event usage, evolution, and impact, and we are attempting to build a tool to improve the practice of Solidity event use based on our findings. We have tried our prototype tool on some of the most popular GitHub Solidity repositories, and for your repository, we find a potential optimization of gas consumption arisen from event use.
The point is that when we use emit operation to store the value of a certain variable, local memory type variable would be preferable to global storage type (state) variable if they hold the same value. The reason is that an extra SLOAD operation would be needed to access the variable if it is storage type, and the SLOAD operation costs 800 gas.
For your repository, we find that the following event use can be improved:
- TimeERC20.sol
function name: setVault
event name: VaultTransferred
variable: vault ->vault
function setVault( address vault_ ) external onlyOwner() {
require(vault_ != address(0), "IA0");
_vault = vault_;
emit VaultTransferred( _vault );
}
Do you find our results useful? Your reply and invaluable suggestions would be greatly appreciated, and are vital for improving our tool. Thanks a lot for your time!
Unusual require statement in BondDepository
https://github.com/Wonderland-Money/contracts/blob/main/BondDepository.sol#L701
It says:
uint profit = value.sub( payout ).sub( fee );
...
treasury.deposit( _amount, address(principle), profit );
...
require(balanceBefore.add(profit) == Time.balanceOf(address(this)), "Not enough Time to cover profit");
This means that it assumes that the balance has been increased by the profit. But this calls treasury.deposit( _amount, address(principle), profit );
which runs:
uint value = valueOf(_token, _amount);
// mint Time needed and store amount of rewards for distribution
send_ = value.sub( _profit );
...
Time.mint( msg.sender, send_ );
So I believe this only works if profit is half the value of the amount. I'm curious why this assertion is in the code.
after i wrapped my memo (wMemo) there is nothing available, why? I need help getting it back
what do I need to do?
WORNING!!! Zero Balance in App.Wonderland.money . Paid US$2,220.33 = 0.516906164 Time (TIME)
Click following link and all looks good but
WORNING!!! Zero Balance in App.Wonderland.money . Paid US$2,220.33 = 0.516906164 Time (TIME)
https://snowtrace.io/token/0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7?a=0xb54f16fb19478766a268f172c9480f8da1a7c9c3
Official Site:
https://www.wonderland.money/
My Wonderland.money account in CoinbaseWallet
0xca652724885db501ec1ba90f9ac913213623ccd3
My contract with Wonderland.money
0xb54f16fb19478766a268f172c9480f8da1a7c9c3
Transaction Hash:
0x4f9d9334526b5ec0e9de13ea8f47e851569f257956a2cd2b271f093b8d717cd8
For 0.516906164 ($2,220.33) Time (TIME)
2_deploy_contracts.js
Hi there,
I was learning solidity and web3js and want to test these contracts on the local network but facing issues while migration can you guys provide migration files or help me out with this issue?
Thank you.
Stake showing zero
I have kept stake on 21st now it showing as zero in wonderland any reason please help how to retrieve that
Testnet contracts
Can you guys please provide tesnet contract addresses?
Hello Wonderland-Money Please work with Coinbase Wallet and make it 100% compatible. Why Wonderland-Money does not have it's own App ?
Hello Wonderland-Money Please work with Coinbase Wallet and make it 100% compatible.
Issues:
- In iPhone Coinbase Wallet 90% of the time I can not access https://App.Wondarland.money/#/ (please see the pic below)
- I already invested US$4000 + and want to invest more.
- Update the Coinbase Wallet App if available but still does not work https://App.Wondarland.money/#/ (please see the pic below)
- Why Wonderland-Money does not have it's own App ?
?
20+ days gone not updated in Wonderland.money at https://app.wonderland.money/#/stake
PLEASE FIX THIS ISSUE ASAP
41.46840096382109 AVAX total incoming transactions ( over US$4000 spent )
at wallet address 0xCa652724885Db501eC1ba90f9ac913213623cCd3
for Wonderland.money Time
and not showing updates for last 20+ days.
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Total incoming transactions to Wonderland.money are in the list below
https://snowtrace.io/txs?a=0xCa652724885Db501eC1ba90f9ac913213623cCd3&f=3
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Wonderland.Money please take action this 20+ days pending issue As Soon As Possible.
Or return the money to the originator.
Please reply to [email protected]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.