Coder Social home page Coder Social logo

contracts's People

Contributors

flachy avatar vt-btf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contracts's Issues

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)

TIME amount not update 01
TIME wonderland Coinbase account

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!

Stake showing zero

I have kept stake on 21st now it showing as zero in wonderland any reason please help how to retrieve that

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.

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.

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]

Appreciate your help.
Pradip.
TIME amount not update 01

TIME wonderland Coinbase account 2

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.

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:

  1. In iPhone Coinbase Wallet 90% of the time I can not access https://App.Wondarland.money/#/ (please see the pic below)
  2. I already invested US$4000 + and want to invest more.
  3. Update the Coinbase Wallet App if available but still does not work https://App.Wondarland.money/#/ (please see the pic below)
  4. Why Wonderland-Money does not have it's own App ?
    TIME wonderland Coinbase Wallet App does not work 3
    ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.