Core contracts: reference staking pool, lockup, voting, whitelist, multisig.
Core contracts: reference staking pool, lockup, voting, whitelist, multisig.
See scripts folder for details.
When setting up the contract creating the contract account, deploying the binary, and initializing the state must all be done as an atomic step. For example, in our tests for the lockup contract we initialize it like this:
…To do this with near shell, first add a script like deploy.js:
…Then use the near repl command. Once at the command prompt, load the script:
> .load deploy.jsNote: nearAPI and near are both preloaded to the repl's context.
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
No open issues yet, or sync has not completed.