Add contract_store_key and contract_store_value
This commit is contained in:
parent
66960f1f33
commit
03ff3100e4
@ -19,7 +19,10 @@
|
|||||||
| block_tx_hash
|
| block_tx_hash
|
||||||
| block_state_hash
|
| block_state_hash
|
||||||
| channel
|
| channel
|
||||||
|
| contract_bytearray
|
||||||
| contract_pubkey
|
| contract_pubkey
|
||||||
|
| contract_store_key
|
||||||
|
| contract_store_value
|
||||||
| transaction
|
| transaction
|
||||||
| tx_hash
|
| tx_hash
|
||||||
| oracle_pubkey
|
| oracle_pubkey
|
||||||
@ -178,6 +181,8 @@ type2enc(block_state_hash) -> ?BASE58;
|
|||||||
type2enc(channel) -> ?BASE58;
|
type2enc(channel) -> ?BASE58;
|
||||||
type2enc(contract_pubkey) -> ?BASE58;
|
type2enc(contract_pubkey) -> ?BASE58;
|
||||||
type2enc(contract_bytearray) -> ?BASE64;
|
type2enc(contract_bytearray) -> ?BASE64;
|
||||||
|
type2enc(contract_store_key) -> ?BASE64;
|
||||||
|
type2enc(contract_store_value) -> ?BASE64;
|
||||||
type2enc(transaction) -> ?BASE64;
|
type2enc(transaction) -> ?BASE64;
|
||||||
type2enc(tx_hash) -> ?BASE58;
|
type2enc(tx_hash) -> ?BASE58;
|
||||||
type2enc(oracle_pubkey) -> ?BASE58;
|
type2enc(oracle_pubkey) -> ?BASE58;
|
||||||
@ -203,6 +208,8 @@ type2pfx(block_state_hash) -> <<"bs">>;
|
|||||||
type2pfx(channel) -> <<"ch">>;
|
type2pfx(channel) -> <<"ch">>;
|
||||||
type2pfx(contract_pubkey) -> <<"ct">>;
|
type2pfx(contract_pubkey) -> <<"ct">>;
|
||||||
type2pfx(contract_bytearray) -> <<"cb">>;
|
type2pfx(contract_bytearray) -> <<"cb">>;
|
||||||
|
type2pfx(contract_store_key) -> <<"ck">>;
|
||||||
|
type2pfx(contract_store_value) -> <<"cv">>;
|
||||||
type2pfx(transaction) -> <<"tx">>;
|
type2pfx(transaction) -> <<"tx">>;
|
||||||
type2pfx(tx_hash) -> <<"th">>;
|
type2pfx(tx_hash) -> <<"th">>;
|
||||||
type2pfx(oracle_pubkey) -> <<"ok">>;
|
type2pfx(oracle_pubkey) -> <<"ok">>;
|
||||||
@ -226,6 +233,8 @@ pfx2type(<<"bx">>) -> block_tx_hash;
|
|||||||
pfx2type(<<"bs">>) -> block_state_hash;
|
pfx2type(<<"bs">>) -> block_state_hash;
|
||||||
pfx2type(<<"ch">>) -> channel;
|
pfx2type(<<"ch">>) -> channel;
|
||||||
pfx2type(<<"cb">>) -> contract_bytearray;
|
pfx2type(<<"cb">>) -> contract_bytearray;
|
||||||
|
pfx2type(<<"ck">>) -> contract_store_key;
|
||||||
|
pfx2type(<<"cv">>) -> contract_store_value;
|
||||||
pfx2type(<<"ct">>) -> contract_pubkey;
|
pfx2type(<<"ct">>) -> contract_pubkey;
|
||||||
pfx2type(<<"tx">>) -> transaction;
|
pfx2type(<<"tx">>) -> transaction;
|
||||||
pfx2type(<<"th">>) -> tx_hash;
|
pfx2type(<<"th">>) -> tx_hash;
|
||||||
@ -253,6 +262,8 @@ byte_size_for_type(block_state_hash) -> 32;
|
|||||||
byte_size_for_type(channel) -> 32;
|
byte_size_for_type(channel) -> 32;
|
||||||
byte_size_for_type(contract_pubkey) -> 32;
|
byte_size_for_type(contract_pubkey) -> 32;
|
||||||
byte_size_for_type(contract_bytearray) -> not_applicable;
|
byte_size_for_type(contract_bytearray) -> not_applicable;
|
||||||
|
byte_size_for_type(contract_store_key) -> not_applicable;
|
||||||
|
byte_size_for_type(contract_store_value) -> not_applicable;
|
||||||
byte_size_for_type(transaction) -> not_applicable;
|
byte_size_for_type(transaction) -> not_applicable;
|
||||||
byte_size_for_type(tx_hash) -> 32;
|
byte_size_for_type(tx_hash) -> 32;
|
||||||
byte_size_for_type(oracle_pubkey) -> 32;
|
byte_size_for_type(oracle_pubkey) -> 32;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user