Skyward Finance 智能合约

时间:2024-07-18 13:06:55
【文件属性】:

文件名称:Skyward Finance 智能合约

文件大小:1.95MB

文件格式:ZIP

更新时间:2024-07-18 13:06:55

contracts

构建和初始化./build.sh near dev-deploy res/skyward.wasexport CONTRACT_ID=skyward.testnet near call$CONTRACT_ID new --account_id=$CONTRACT_ID为 ACCOUNT_ID 注册令牌export TOKEN1=token1.testnetexport TOKEN2=token2.testnetexport ACCOUNT_ID=account1.testnetexport ACCOUNT_ID2=account2.testnet# Init tokens# near call $TOKEN1 --accountId=$ACCOUNT_ID new_default_meta '{"owner_id": "'$ACCOUNT_ID'", "total_supply": "1000000000000000000000000000000000"}'# near call $TOKEN2 --accountId=$ACCOUNT_ID2 new_default_meta '{"


【文件预览】:
contracts-master
----test_all.sh(108B)
----common()
--------w_near.wasm(181KB)
--------fungible_token.wasm(219KB)
----lockup_csv_to_borsh()
--------Cargo.toml(223B)
--------Cargo.lock(17KB)
--------src()
--------example.csv(147B)
--------run.sh(164B)
--------README.md(2KB)
--------.gitignore(25B)
--------run_example.sh(108B)
----build_all.sh(116B)
----permissions()
--------build.sh(209B)
--------Cargo.toml(309B)
--------Cargo.lock(15KB)
--------src()
----Dockerfile(186B)
----init_sales.sh(3KB)
----release()
--------lockup1.wasm(750KB)
--------skyward.wasm(382KB)
--------lockup2.wasm(750KB)
--------lockup0.wasm(750KB)
--------lockup3.wasm(673KB)
----LICENSE(1KB)
----skyward()
--------build.sh(205B)
--------Cargo.toml(437B)
--------Cargo.lock(80KB)
--------src()
--------README.md(3KB)
--------tests()
----lockup()
--------build.sh(310B)
--------Cargo.toml(436B)
--------Cargo.lock(80KB)
--------src()
--------README.md(107B)
--------tests()
--------.gitignore(6B)
----token_swap_testnet()
--------build.sh(216B)
--------Cargo.toml(350B)
--------Cargo.lock(15KB)
--------src()
----docker_build.sh(523B)
----.gitignore(23B)
----setup.sh(11KB)
----add_sale.sh(1KB)

网友评论