核心合约:参考持仓池、锁仓、投票、白名单、多重签名。
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.
暂无开放 Issues,或尚未同步最近议题。