You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
786 B

2 years ago
// base types defined in https://github.com/newton-blockchain/ton/blob/master/crypto/block/block.tlb
// storage (according to save_data() contract method)
storage#_ total_supply:Coins admin_address:MsgAddress next_admin_address:MsgAddress content:^Cell jetton_wallet_code:^Cell = Storage
// ops
deposit query_id:uint64 amount:VarUInteger 16 = InternalMsgBody
withdraw query_id:uint64 amount:VarUInteger 16 = InternalMsgBody
change_next_admin query_id:uint64 new_next_admin_address:MsgAddress = InternalMsgBody
change_admin query_id:uint64 = InternalMsgBody
change_content query_id:uint64 new_content:^Cell = InternalMsgBody
provide_wallet_address query_id:uint64 owner_address:MsgAddress include_owner_address:Bool = InternalMsgBody
excesses query_id:uint64 = InternalMsgBody