Skip to content

Commit

Permalink
add native gas cost
Browse files Browse the repository at this point in the history
add Table.move

upgrade version to 5

1.update Table.move

1.update Table.move

[Feature] Identifier nft add borrow function  (#34)

* add IdentifierNFT borrow

Co-authored-by: WGB5445 <WGB98512@163.com>

Update string (#83)

* Add String module

* fix string native name

update Table.move

update VMConfig native_schedule

update String.move
  • Loading branch information
nkysg committed Nov 23, 2022
1 parent 1ef2ed2 commit a30aad7
Show file tree
Hide file tree
Showing 27 changed files with 1,366 additions and 11 deletions.
8 changes: 7 additions & 1 deletion build/StarcoinFramework/BuildInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,12 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: StdlibUpgradeScripts
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: String
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: Table
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: Timestamp
: StarcoinFramework
Expand Down Expand Up @@ -252,7 +258,7 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: YieldFarmingV2
: StarcoinFramework
source_digest: 393B652869BD1D391A88E8A7874298F9AEEF181C4955513FE7D69C00899AD3A2
source_digest: CDB11627DC486B5C8428787DCF5AC44FDB07E5895DE643E98B5A6E35613D7F5A
build_flags:
dev_mode: false
test_mode: false
Expand Down
Binary file modified build/StarcoinFramework/bytecode_modules/Genesis.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/IdentifierNFT.mv
Binary file not shown.
Binary file added build/StarcoinFramework/bytecode_modules/String.mv
Binary file not shown.
Binary file added build/StarcoinFramework/bytecode_modules/Table.mv
Binary file not shown.
Binary file modified build/StarcoinFramework/bytecode_modules/VMConfig.mv
Binary file not shown.
2 changes: 1 addition & 1 deletion build/StarcoinFramework/docs/Genesis.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ The module for init Genesis
<b>let</b> image = b"ipfs://QmSPcvcXgdtHHiVTAAarzTeubk5X3iWymPAoKBfiRFjPMY";
<a href="GenesisNFT.md#0x1_GenesisNFT_initialize">GenesisNFT::initialize</a>(&genesis_account, merkle_root, 1639u64, image);
};
<a href="StdlibUpgradeScripts.md#0x1_StdlibUpgradeScripts_do_upgrade_from_v6_to_v7_with_language_version">StdlibUpgradeScripts::do_upgrade_from_v6_to_v7_with_language_version</a>(&genesis_account, 4);
<a href="StdlibUpgradeScripts.md#0x1_StdlibUpgradeScripts_do_upgrade_from_v6_to_v7_with_language_version">StdlibUpgradeScripts::do_upgrade_from_v6_to_v7_with_language_version</a>(&genesis_account, 5);
//Start time, <a href="Timestamp.md#0x1_Timestamp_is_genesis">Timestamp::is_genesis</a>() will <b>return</b> <b>false</b>. this call should at the end of genesis init.
<a href="Timestamp.md#0x1_Timestamp_set_time_has_started">Timestamp::set_time_has_started</a>(&genesis_account);
<a href="Account.md#0x1_Account_release_genesis_signer">Account::release_genesis_signer</a>(genesis_account);
Expand Down
2 changes: 2 additions & 0 deletions build/StarcoinFramework/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ This is the root document for the Move StarcoinFramework module documentation. T
- [`0x1::SignedInteger64`](SignedInteger64.md#0x1_SignedInteger64)
- [`0x1::Signer`](Signer.md#0x1_Signer)
- [`0x1::StdlibUpgradeScripts`](StdlibUpgradeScripts.md#0x1_StdlibUpgradeScripts)
- [`0x1::String`](String.md#0x1_String)
- [`0x1::Table`](Table.md#0x1_Table)
- [`0x1::Timestamp`](Timestamp.md#0x1_Timestamp)
- [`0x1::Token`](Token.md#0x1_Token)
- [`0x1::TransactionFee`](TransactionFee.md#0x1_TransactionFee)
Expand Down
Loading

0 comments on commit a30aad7

Please sign in to comment.