{
"storage_id": "0x2",
"original_id": "0x2",
"version": 1,
"modules": {
"accumulator": {
"name": "accumulator",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "AccumulatorRoot"
},
"module": "accumulator",
"name": "AccumulatorRoot",
"abilities": [
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "Key"
},
"module": "accumulator",
"name": "Key",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [
{
"constraints": [],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "address",
"position": 0,
"ty": "Address"
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "U128"
},
"module": "accumulator",
"name": "U128",
"abilities": [
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "value",
"position": 0,
"ty": "U128"
}
]
}
}
}
],
"functions": [
{
"name": "accumulator_address",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "Address"
}
],
"return_types": [
"Address"
]
},
{
"name": "accumulator_key",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "Address"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "Key"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "accumulator_u128_exists",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "AccumulatorRoot"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": "Address"
}
],
"return_types": [
"Bool"
]
},
{
"name": "accumulator_u128_read",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "AccumulatorRoot"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": "Address"
}
],
"return_types": [
"U128"
]
},
{
"name": "create",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "create_u128",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": "U128"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "U128"
},
"type_arguments": []
}
}
]
},
{
"name": "destroy_u128",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "U128"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "emit_deposit_event",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "Address"
},
{
"name": "arg1",
"ty": "Address"
},
{
"name": "arg2",
"ty": "U64"
}
],
"return_types": []
},
{
"name": "emit_withdraw_event",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "Address"
},
{
"name": "arg1",
"ty": "Address"
},
{
"name": "arg2",
"ty": "U64"
}
],
"return_types": []
},
{
"name": "is_zero_u128",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "U128"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "root_add_accumulator",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "AccumulatorRoot"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "Key"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
},
{
"name": "arg2",
"ty": {
"TypeParameter": 1
}
}
],
"return_types": []
},
{
"name": "root_borrow_accumulator",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "AccumulatorRoot"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "Key"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "root_borrow_accumulator_mut",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "AccumulatorRoot"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "Key"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "root_has_accumulator",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "AccumulatorRoot"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "Key"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "root_id",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "AccumulatorRoot"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "root_id_mut",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "AccumulatorRoot"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "root_remove_accumulator",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "AccumulatorRoot"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "Key"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
{
"TypeParameter": 1
}
]
},
{
"name": "update_u128",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "U128"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": "U128"
},
{
"name": "arg2",
"ty": "U128"
}
],
"return_types": []
}
]
},
"bag": {
"name": "bag",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "bag",
"name": "Bag"
},
"module": "bag",
"name": "Bag",
"abilities": [
"Store",
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
},
{
"name": "size",
"position": 1,
"ty": "U64"
}
]
}
}
}
],
"functions": [
{
"name": "add",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "bag",
"name": "Bag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg2",
"ty": {
"TypeParameter": 1
}
}
],
"return_types": []
},
{
"name": "borrow",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "bag",
"name": "Bag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "borrow_mut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "bag",
"name": "Bag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "contains",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "bag",
"name": "Bag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "contains_with_type",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "bag",
"name": "Bag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "destroy_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "bag",
"name": "Bag"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "is_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "bag",
"name": "Bag"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "length",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "bag",
"name": "Bag"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "new",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "bag",
"name": "Bag"
},
"type_arguments": []
}
}
]
},
{
"name": "remove",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "bag",
"name": "Bag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"TypeParameter": 1
}
]
}
]
},
"balance": {
"name": "balance",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"module": "balance",
"name": "Balance",
"abilities": [
"Store"
],
"type_parameters": [
{
"constraints": [],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "value",
"position": 0,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Supply"
},
"module": "balance",
"name": "Supply",
"abilities": [
"Store"
],
"type_parameters": [
{
"constraints": [],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "value",
"position": 0,
"ty": "U64"
}
]
}
}
}
],
"functions": [
{
"name": "create_staking_rewards",
"visibility": "Private",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "U64"
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "create_supply",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Supply"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "create_supply_internal",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Supply"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "decrease_supply",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Supply"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "destroy_storage_rebates",
"visibility": "Private",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "destroy_supply",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Supply"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "destroy_zero",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": []
},
{
"name": "increase_supply",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Supply"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "join",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "redeem_funds",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "send_funds",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
},
{
"name": "arg1",
"ty": "Address"
}
],
"return_types": []
},
{
"name": "settled_funds_value",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "accumulator",
"name": "AccumulatorRoot"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": "Address"
}
],
"return_types": [
"U64"
]
},
{
"name": "split",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "supply_value",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Supply"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "value",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "withdraw_all",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "withdraw_funds_from_object",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
}
}
]
},
{
"name": "zero",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
}
]
},
"clock": {
"name": "clock",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "clock",
"name": "Clock"
},
"module": "clock",
"name": "Clock",
"abilities": [
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
},
{
"name": "timestamp_ms",
"position": 1,
"ty": "U64"
}
]
}
}
}
],
"functions": [
{
"name": "consensus_commit_prologue",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "clock",
"name": "Clock"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
},
{
"name": "arg2",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "create",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "timestamp_ms",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "clock",
"name": "Clock"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
}
]
},
"coin": {
"name": "coin",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"module": "coin",
"name": "Coin",
"abilities": [
"Store",
"Key"
],
"type_parameters": [
{
"constraints": [],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
},
{
"name": "balance",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"module": "coin",
"name": "CoinMetadata",
"abilities": [
"Store",
"Key"
],
"type_parameters": [
{
"constraints": [],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
},
{
"name": "decimals",
"position": 1,
"ty": "U8"
},
{
"name": "name",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "string",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "symbol",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "description",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "string",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "icon_url",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "url",
"name": "Url"
},
"type_arguments": []
}
}
]
}
}
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CurrencyCreated"
},
"module": "coin",
"name": "CurrencyCreated",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [
{
"constraints": [],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "decimals",
"position": 0,
"ty": "U8"
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCap"
},
"module": "coin",
"name": "DenyCap",
"abilities": [
"Store",
"Key"
],
"type_parameters": [
{
"constraints": [],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCapV2"
},
"module": "coin",
"name": "DenyCapV2",
"abilities": [
"Store",
"Key"
],
"type_parameters": [
{
"constraints": [],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
},
{
"name": "allow_global_pause",
"position": 1,
"ty": "Bool"
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "coin",
"name": "RegulatedCoinMetadata"
},
"module": "coin",
"name": "RegulatedCoinMetadata",
"abilities": [
"Key"
],
"type_parameters": [
{
"constraints": [],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
},
{
"name": "coin_metadata_object",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "deny_cap_object",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"module": "coin",
"name": "TreasuryCap",
"abilities": [
"Store",
"Key"
],
"type_parameters": [
{
"constraints": [],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
},
{
"name": "total_supply",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Supply"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
]
}
}
}
],
"functions": [
{
"name": "allow_global_pause",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCapV2"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "balance",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
]
},
{
"name": "balance_mut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
]
},
{
"name": "burn",
"visibility": "Public",
"is_entry": true,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "create_currency",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg1",
"ty": "U8"
},
{
"name": "arg2",
"ty": {
"Vector": "U8"
}
},
{
"name": "arg3",
"ty": {
"Vector": "U8"
}
},
{
"name": "arg4",
"ty": {
"Vector": "U8"
}
},
{
"name": "arg5",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "url",
"name": "Url"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "arg6",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "create_regulated_currency",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg1",
"ty": "U8"
},
{
"name": "arg2",
"ty": {
"Vector": "U8"
}
},
{
"name": "arg3",
"ty": {
"Vector": "U8"
}
},
{
"name": "arg4",
"ty": {
"Vector": "U8"
}
},
{
"name": "arg5",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "url",
"name": "Url"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "arg6",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "create_regulated_currency_v2",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg1",
"ty": "U8"
},
{
"name": "arg2",
"ty": {
"Vector": "U8"
}
},
{
"name": "arg3",
"ty": {
"Vector": "U8"
}
},
{
"name": "arg4",
"ty": {
"Vector": "U8"
}
},
{
"name": "arg5",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "url",
"name": "Url"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "arg6",
"ty": "Bool"
},
{
"name": "arg7",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCapV2"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "deny_cap_id",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "RegulatedCoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "deny_list_add",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "deny_list",
"name": "DenyList"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg2",
"ty": "Address"
},
{
"name": "arg3",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "deny_list_contains",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "deny_list",
"name": "DenyList"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": "Address"
}
],
"return_types": [
"Bool"
]
},
{
"name": "deny_list_remove",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "deny_list",
"name": "DenyList"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg2",
"ty": "Address"
},
{
"name": "arg3",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "deny_list_v2_add",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "deny_list",
"name": "DenyList"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCapV2"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg2",
"ty": "Address"
},
{
"name": "arg3",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "deny_list_v2_contains_current_epoch",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "deny_list",
"name": "DenyList"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": "Address"
},
{
"name": "arg2",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "deny_list_v2_contains_next_epoch",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "deny_list",
"name": "DenyList"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": "Address"
}
],
"return_types": [
"Bool"
]
},
{
"name": "deny_list_v2_disable_global_pause",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "deny_list",
"name": "DenyList"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCapV2"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg2",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "deny_list_v2_enable_global_pause",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "deny_list",
"name": "DenyList"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCapV2"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg2",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "deny_list_v2_is_global_pause_enabled_current_epoch",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "deny_list",
"name": "DenyList"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "deny_list_v2_is_global_pause_enabled_next_epoch",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "deny_list",
"name": "DenyList"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "deny_list_v2_remove",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "deny_list",
"name": "DenyList"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCapV2"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg2",
"ty": "Address"
},
{
"name": "arg3",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "destroy_metadata",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": []
},
{
"name": "destroy_zero",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": []
},
{
"name": "divide_into_n",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
},
{
"name": "arg2",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
]
},
{
"name": "from_balance",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "get_decimals",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"U8"
]
},
{
"name": "get_description",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "string",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "get_icon_url",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "url",
"name": "Url"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "get_name",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "string",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "get_symbol",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "into_balance",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "join",
"visibility": "Public",
"is_entry": true,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": []
},
{
"name": "migrate_regulated_currency_to_v2",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "deny_list",
"name": "DenyList"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
},
{
"name": "arg2",
"ty": "Bool"
},
{
"name": "arg3",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCapV2"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "mint",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
},
{
"name": "arg2",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "mint_and_transfer",
"visibility": "Public",
"is_entry": true,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
},
{
"name": "arg2",
"ty": "Address"
},
{
"name": "arg3",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "mint_balance",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "new_coin_metadata",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "U8"
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "string",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "arg2",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "arg3",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "string",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "arg4",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "arg5",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "new_deny_cap_v2",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "Bool"
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "DenyCapV2"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "new_treasury_cap",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "put",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": []
},
{
"name": "redeem_funds",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "send_funds",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
},
{
"name": "arg1",
"ty": "Address"
}
],
"return_types": []
},
{
"name": "split",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
},
{
"name": "arg2",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "supply",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Supply"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
]
},
{
"name": "supply_immut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Supply"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
]
},
{
"name": "supply_mut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Supply"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
]
},
{
"name": "take",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
},
{
"name": "arg2",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "total_supply",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "treasury_into_supply",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Supply"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "update_coin_metadata",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "string",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "arg2",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "arg3",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "string",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "arg4",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "update_description",
"visibility": "Public",
"is_entry": true,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg2",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "string",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "update_icon_url",
"visibility": "Public",
"is_entry": true,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg2",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "update_name",
"visibility": "Public",
"is_entry": true,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg2",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "string",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "update_symbol",
"visibility": "Public",
"is_entry": true,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "TreasuryCap"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "CoinMetadata"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg2",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "value",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "zero",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
}
]
},
"funds_accumulator": {
"name": "funds_accumulator",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"module": "funds_accumulator",
"name": "Withdrawal",
"abilities": [
"Drop"
],
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "owner",
"position": 0,
"ty": "Address"
},
{
"name": "limit",
"position": 1,
"ty": "U256"
}
]
}
}
}
],
"functions": [
{
"name": "add_impl",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg1",
"ty": "Address"
}
],
"return_types": []
},
{
"name": "add_to_accumulator_address",
"visibility": "Private",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "Address"
},
{
"name": "arg1",
"ty": "Address"
},
{
"name": "arg2",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": []
},
{
"name": "create_withdrawal",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "Address"
},
{
"name": "arg1",
"ty": "U256"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "redeem",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "internal",
"name": "Permit"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
{
"TypeParameter": 0
}
]
},
{
"name": "withdraw_from_accumulator_address",
"visibility": "Private",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "Address"
},
{
"name": "arg1",
"ty": "Address"
},
{
"name": "arg2",
"ty": "U256"
}
],
"return_types": [
{
"TypeParameter": 0
}
]
},
{
"name": "withdraw_from_object",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": "U256"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "withdraw_impl",
"visibility": "Private",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "Address"
},
{
"name": "arg1",
"ty": "U256"
}
],
"return_types": [
{
"TypeParameter": 0
}
]
},
{
"name": "withdrawal_join",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": []
},
{
"name": "withdrawal_limit",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"U256"
]
},
{
"name": "withdrawal_owner",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"Address"
]
},
{
"name": "withdrawal_split",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U256"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "funds_accumulator",
"name": "Withdrawal"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
}
]
},
"linked_table": {
"name": "linked_table",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"module": "linked_table",
"name": "LinkedTable",
"abilities": [
"Store",
"Key"
],
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
},
{
"name": "size",
"position": 1,
"ty": "U64"
},
{
"name": "head",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
},
{
"name": "tail",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "Node"
},
"module": "linked_table",
"name": "Node",
"abilities": [
"Store"
],
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "prev",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
},
{
"name": "next",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
},
{
"name": "value",
"position": 2,
"ty": {
"TypeParameter": 1
}
}
]
}
}
}
],
"functions": [
{
"name": "back",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
]
},
{
"name": "borrow",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "borrow_mut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "contains",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "destroy_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
],
"return_types": []
},
{
"name": "drop",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Drop",
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
],
"return_types": []
},
{
"name": "front",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
]
},
{
"name": "insert_after",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg2",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg3",
"ty": {
"TypeParameter": 1
}
}
],
"return_types": []
},
{
"name": "insert_before",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg2",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg3",
"ty": {
"TypeParameter": 1
}
}
],
"return_types": []
},
{
"name": "is_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "length",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "new",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
]
},
{
"name": "next",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
]
},
{
"name": "pop_back",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
},
{
"name": "pop_front",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
},
{
"name": "prev",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
]
},
{
"name": "push_back",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg2",
"ty": {
"TypeParameter": 1
}
}
],
"return_types": []
},
{
"name": "push_front",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg2",
"ty": {
"TypeParameter": 1
}
}
],
"return_types": []
},
{
"name": "remove",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"TypeParameter": 1
}
]
}
]
},
"object": {
"name": "object",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"module": "object",
"name": "ID",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "bytes",
"position": 0,
"ty": "Address"
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"module": "object",
"name": "UID",
"abilities": [
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
]
}
}
}
],
"functions": [
{
"name": "address_alias_state",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
]
},
{
"name": "authenticator_state",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
]
},
{
"name": "borrow_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "borrow_uid",
"visibility": "Private",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "bridge",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
]
},
{
"name": "clock",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
]
},
{
"name": "delete",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "delete_impl",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": "Address"
}
],
"return_types": []
},
{
"name": "id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "id_address",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
"Address"
]
},
{
"name": "id_bytes",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "id_from_address",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": "Address"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "id_from_bytes",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "id_to_address",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Address"
]
},
{
"name": "id_to_bytes",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "new",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
]
},
{
"name": "new_uid_from_hash",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": "Address"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
]
},
{
"name": "randomness_state",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
]
},
{
"name": "record_new_uid",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": "Address"
}
],
"return_types": []
},
{
"name": "sui_accumulator_root_address",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
"Address"
]
},
{
"name": "sui_accumulator_root_object_id",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
]
},
{
"name": "sui_coin_registry_address",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
"Address"
]
},
{
"name": "sui_coin_registry_object_id",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
]
},
{
"name": "sui_deny_list_object_id",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
]
},
{
"name": "sui_display_registry_address",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
"Address"
]
},
{
"name": "sui_display_registry_object_id",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
]
},
{
"name": "sui_system_state",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
]
},
{
"name": "uid_as_inner",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "uid_to_address",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Address"
]
},
{
"name": "uid_to_bytes",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "uid_to_inner",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
]
},
"object_bag": {
"name": "object_bag",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "object_bag",
"name": "ObjectBag"
},
"module": "object_bag",
"name": "ObjectBag",
"abilities": [
"Store",
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
},
{
"name": "size",
"position": 1,
"ty": "U64"
}
]
}
}
}
],
"functions": [
{
"name": "add",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_bag",
"name": "ObjectBag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg2",
"ty": {
"TypeParameter": 1
}
}
],
"return_types": []
},
{
"name": "borrow",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_bag",
"name": "ObjectBag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "borrow_mut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_bag",
"name": "ObjectBag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "contains",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_bag",
"name": "ObjectBag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "contains_with_type",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_bag",
"name": "ObjectBag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "destroy_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_bag",
"name": "ObjectBag"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "is_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_bag",
"name": "ObjectBag"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "length",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_bag",
"name": "ObjectBag"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "new",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_bag",
"name": "ObjectBag"
},
"type_arguments": []
}
}
]
},
{
"name": "remove",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_bag",
"name": "ObjectBag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"TypeParameter": 1
}
]
},
{
"name": "value_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_bag",
"name": "ObjectBag"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
]
}
]
},
"object_table": {
"name": "object_table",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "object_table",
"name": "ObjectTable"
},
"module": "object_table",
"name": "ObjectTable",
"abilities": [
"Store",
"Key"
],
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": true
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
},
{
"name": "size",
"position": 1,
"ty": "U64"
}
]
}
}
}
],
"functions": [
{
"name": "add",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_table",
"name": "ObjectTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg2",
"ty": {
"TypeParameter": 1
}
}
],
"return_types": []
},
{
"name": "borrow",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_table",
"name": "ObjectTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "borrow_mut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_table",
"name": "ObjectTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "contains",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_table",
"name": "ObjectTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "destroy_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_table",
"name": "ObjectTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
],
"return_types": []
},
{
"name": "is_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_table",
"name": "ObjectTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "length",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_table",
"name": "ObjectTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "new",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_table",
"name": "ObjectTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
]
},
{
"name": "remove",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_table",
"name": "ObjectTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"TypeParameter": 1
}
]
},
{
"name": "value_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object_table",
"name": "ObjectTable"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
]
}
]
},
"priority_queue": {
"name": "priority_queue",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "priority_queue",
"name": "Entry"
},
"module": "priority_queue",
"name": "Entry",
"abilities": [
"Drop",
"Store"
],
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "priority",
"position": 0,
"ty": "U64"
},
{
"name": "value",
"position": 1,
"ty": {
"TypeParameter": 0
}
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "priority_queue",
"name": "PriorityQueue"
},
"module": "priority_queue",
"name": "PriorityQueue",
"abilities": [
"Drop",
"Store"
],
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "entries",
"position": 0,
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "priority_queue",
"name": "Entry"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
]
}
}
}
],
"functions": [
{
"name": "create_entries",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Vector": "U64"
}
},
{
"name": "arg1",
"ty": {
"Vector": {
"TypeParameter": 0
}
}
}
],
"return_types": [
{
"Vector": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "priority_queue",
"name": "Entry"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
]
},
{
"name": "insert",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "priority_queue",
"name": "PriorityQueue"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
},
{
"name": "arg2",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": []
},
{
"name": "max_heapify_recursive",
"visibility": "Private",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "priority_queue",
"name": "Entry"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
},
{
"name": "arg2",
"ty": "U64"
}
],
"return_types": []
},
{
"name": "new",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "priority_queue",
"name": "Entry"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "priority_queue",
"name": "PriorityQueue"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "new_entry",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "U64"
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "priority_queue",
"name": "Entry"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "pop_max",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "priority_queue",
"name": "PriorityQueue"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"U64",
{
"TypeParameter": 0
}
]
},
{
"name": "priorities",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "priority_queue",
"name": "PriorityQueue"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Vector": "U64"
}
]
},
{
"name": "restore_heap_recursive",
"visibility": "Private",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "priority_queue",
"name": "Entry"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
}
],
"return_types": []
}
]
},
"sui": {
"name": "sui",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"module": "sui",
"name": "SUI",
"abilities": [
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dummy_field",
"position": 0,
"ty": "Bool"
}
]
}
}
}
],
"functions": [
{
"name": "new",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "transfer",
"visibility": "Public",
"is_entry": true,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "arg1",
"ty": "Address"
}
],
"return_types": []
}
]
},
"table": {
"name": "table",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"module": "table",
"name": "Table",
"abilities": [
"Store",
"Key"
],
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": true
},
{
"constraints": [
"Store"
],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
},
{
"name": "size",
"position": 1,
"ty": "U64"
}
]
}
}
}
],
"functions": [
{
"name": "add",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg2",
"ty": {
"TypeParameter": 1
}
}
],
"return_types": []
},
{
"name": "borrow",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "borrow_mut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "contains",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "destroy_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
],
"return_types": []
},
{
"name": "drop",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Drop",
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
],
"return_types": []
},
{
"name": "is_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "length",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "new",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
]
},
{
"name": "remove",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop",
"Store"
],
"is_phantom": false
},
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"TypeParameter": 1
}
]
}
]
},
"table_vec": {
"name": "table_vec",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"module": "table_vec",
"name": "TableVec",
"abilities": [
"Store"
],
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "contents",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
"U64",
{
"TypeParameter": 0
}
]
}
}
}
]
}
}
}
],
"functions": [
{
"name": "borrow",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
]
},
{
"name": "borrow_mut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"TypeParameter": 0
}
}
}
]
},
{
"name": "destroy_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": []
},
{
"name": "drop",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Drop",
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": []
},
{
"name": "empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "is_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "length",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "pop_back",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"TypeParameter": 0
}
]
},
{
"name": "push_back",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": []
},
{
"name": "singleton",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "swap",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
},
{
"name": "arg2",
"ty": "U64"
}
],
"return_types": []
},
{
"name": "swap_remove",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table_vec",
"name": "TableVec"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
}
],
"return_types": [
{
"TypeParameter": 0
}
]
}
]
},
"transfer": {
"name": "transfer",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "transfer",
"name": "Receiving"
},
"module": "transfer",
"name": "Receiving",
"abilities": [
"Drop"
],
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": true
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "version",
"position": 1,
"ty": "U64"
}
]
}
}
}
],
"functions": [
{
"name": "freeze_object",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": []
},
{
"name": "freeze_object_impl",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": []
},
{
"name": "party_transfer",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "party",
"name": "Party"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "party_transfer_impl",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg1",
"ty": "U64"
},
{
"name": "arg2",
"ty": {
"Vector": "Address"
}
},
{
"name": "arg3",
"ty": {
"Vector": "U64"
}
}
],
"return_types": []
},
{
"name": "public_freeze_object",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": []
},
{
"name": "public_party_transfer",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "party",
"name": "Party"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "public_receive",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "transfer",
"name": "Receiving"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
{
"TypeParameter": 0
}
]
},
{
"name": "public_share_object",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": []
},
{
"name": "public_transfer",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store",
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg1",
"ty": "Address"
}
],
"return_types": []
},
{
"name": "receive",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "transfer",
"name": "Receiving"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
{
"TypeParameter": 0
}
]
},
{
"name": "receive_impl",
"visibility": "Private",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "Address"
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "arg2",
"ty": "U64"
}
],
"return_types": [
{
"TypeParameter": 0
}
]
},
{
"name": "receiving_object_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "transfer",
"name": "Receiving"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "share_object",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": []
},
{
"name": "share_object_impl",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": []
},
{
"name": "transfer",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg1",
"ty": "Address"
}
],
"return_types": []
},
{
"name": "transfer_impl",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Key"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg1",
"ty": "Address"
}
],
"return_types": []
}
]
},
"url": {
"name": "url",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "url",
"name": "Url"
},
"module": "url",
"name": "Url",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "url",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
]
}
}
}
],
"functions": [
{
"name": "inner_url",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "url",
"name": "Url"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "new_unsafe",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "url",
"name": "Url"
},
"type_arguments": []
}
}
]
},
{
"name": "new_unsafe_from_bytes",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "url",
"name": "Url"
},
"type_arguments": []
}
}
]
},
{
"name": "update",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "url",
"name": "Url"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": []
}
]
},
"vec_map": {
"name": "vec_map",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "Entry"
},
"module": "vec_map",
"name": "Entry",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "key",
"position": 0,
"ty": {
"TypeParameter": 0
}
},
{
"name": "value",
"position": 1,
"ty": {
"TypeParameter": 1
}
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"module": "vec_map",
"name": "VecMap",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "contents",
"position": 0,
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "Entry"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
]
}
}
}
],
"functions": [
{
"name": "contains",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "destroy_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
],
"return_types": []
},
{
"name": "empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
]
},
{
"name": "from_keys_values",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Vector": {
"TypeParameter": 0
}
}
},
{
"name": "arg1",
"ty": {
"Vector": {
"TypeParameter": 1
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
]
},
{
"name": "get",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "get_entry_by_idx",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
},
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "get_entry_by_idx_mut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
},
{
"Ref": {
"mutable": true,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "get_idx",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "get_idx_opt",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
"U64"
]
}
}
]
},
{
"name": "get_mut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"TypeParameter": 1
}
}
}
]
},
{
"name": "insert",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg2",
"ty": {
"TypeParameter": 1
}
}
],
"return_types": []
},
{
"name": "into_keys_values",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
],
"return_types": [
{
"Vector": {
"TypeParameter": 0
}
},
{
"Vector": {
"TypeParameter": 1
}
}
]
},
{
"name": "is_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "keys",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
{
"Vector": {
"TypeParameter": 0
}
}
]
},
{
"name": "length",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "pop",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
},
{
"name": "remove",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
},
{
"name": "remove_entry_by_idx",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
}
],
"return_types": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
},
{
"name": "size",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "try_get",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy"
],
"is_phantom": false
},
{
"constraints": [
"Copy"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"TypeParameter": 0
},
{
"TypeParameter": 1
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"TypeParameter": 1
}
]
}
}
]
}
]
},
"vec_set": {
"name": "vec_set",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"module": "vec_set",
"name": "VecSet",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "contents",
"position": 0,
"ty": {
"Vector": {
"TypeParameter": 0
}
}
}
]
}
}
}
],
"functions": [
{
"name": "contains",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "from_keys",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Vector": {
"TypeParameter": 0
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "insert",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": []
},
{
"name": "into_keys",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"return_types": [
{
"Vector": {
"TypeParameter": 0
}
}
]
},
{
"name": "is_empty",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "keys",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Vector": {
"TypeParameter": 0
}
}
}
}
]
},
{
"name": "length",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "remove",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
},
{
"name": "arg1",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
}
],
"return_types": []
},
{
"name": "singleton",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"TypeParameter": 0
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
]
},
{
"name": "size",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
}
]
},
"versioned": {
"name": "versioned",
"datatypes": [
{
"type_name": {
"address": "0x2",
"module": "versioned",
"name": "VersionChangeCap"
},
"module": "versioned",
"name": "VersionChangeCap",
"abilities": [],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "versioned_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "old_version",
"position": 1,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0x2",
"module": "versioned",
"name": "Versioned"
},
"module": "versioned",
"name": "Versioned",
"abilities": [
"Store",
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
},
{
"name": "version",
"position": 1,
"ty": "U64"
}
]
}
}
}
],
"functions": [
{
"name": "create",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": "U64"
},
{
"name": "arg1",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg2",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "versioned",
"name": "Versioned"
},
"type_arguments": []
}
}
]
},
{
"name": "destroy",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "versioned",
"name": "Versioned"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"TypeParameter": 0
}
]
},
{
"name": "load_value",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "versioned",
"name": "Versioned"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
]
},
{
"name": "load_value_mut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "versioned",
"name": "Versioned"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"TypeParameter": 0
}
}
}
]
},
{
"name": "remove_value_for_upgrade",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "versioned",
"name": "Versioned"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"TypeParameter": 0
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "versioned",
"name": "VersionChangeCap"
},
"type_arguments": []
}
}
]
},
{
"name": "upgrade",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Store"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "versioned",
"name": "Versioned"
},
"type_arguments": []
}
}
}
}
},
{
"name": "arg1",
"ty": "U64"
},
{
"name": "arg2",
"ty": {
"TypeParameter": 0
}
},
{
"name": "arg3",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "versioned",
"name": "VersionChangeCap"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "version",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "arg0",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "versioned",
"name": "Versioned"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
}
]
}
}
}