UNPKG

@veive-io/mod-execution-as

Version:

Veive smart account execution module

189 lines 6.19 kB
{ "methods": { "execute": { "argument": "modexecution.execute_args", "return": "", "description": "Executes the specified operation. This method is called to perform a specific operation, which may include smart contract calls or other actions defined in the execution module.", "entry_point": 3194740712, "read_only": false, "entry-point": "0xbe6bdfe8", "read-only": false }, "on_install": { "argument": "modexecution.on_install_args", "return": "", "description": "Handles the installation of the module. This method is called when the module is installed. It can include logic for setting up the module, initializing storage, or other setup tasks.", "entry_point": 3548460345, "read_only": false, "entry-point": "0xd3813539", "read-only": false }, "on_uninstall": { "argument": "modexecution.on_uninstall_args", "return": "", "description": "Handles the uninstallation of the module. This method is called when the module is uninstalled. It can include logic for cleanup tasks, such as removing storage or other resources used by the module.", "entry_point": 846787204, "read_only": false, "entry-point": "0x3278f284", "read-only": false }, "is_type": { "argument": "modexecution.is_type_args", "return": "modexecution.is_type_result", "description": "Checks if the module matches a specific type. This method is called to verify if the module is of a certain type. It returns a boolean indicating whether the module type matches the provided type ID.", "entry_point": 3036447173, "read_only": true, "entry-point": "0xb4fc81c5", "read-only": true }, "manifest": { "argument": "", "return": "modexecution.manifest", "description": "", "entry_point": 95661042, "read_only": true, "entry-point": "0x05b3abf2", "read-only": true } }, "types": "Co8FChJtb2RleGVjdXRpb24ucHJvdG8SDG1vZGV4ZWN1dGlvbhoUa29pbm9zL29wdGlvbnMucHJvdG8iJQoPb25faW5zdGFsbF9hcmdzEhIKBGRhdGEYASABKAxSBGRhdGEiJwoRb25fdW5pbnN0YWxsX2FyZ3MSEgoEZGF0YRgBIAEoDFIEZGF0YSInCgxpc190eXBlX2FyZ3MSFwoHdHlwZV9pZBgBIAEoDVIGdHlwZUlkIiYKDmlzX3R5cGVfcmVzdWx0EhQKBXZhbHVlGAEgASgIUgV2YWx1ZSJPCgVzY29wZRIfCgtlbnRyeV9wb2ludBgBIAEoDVIKZW50cnlQb2ludBIlCgtjb250cmFjdF9pZBgCIAEoDEIEgLUYBlIKY29udHJhY3RJZCKgAQoIbWFuaWZlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIXCgd0eXBlX2lkGAIgASgNUgZ0eXBlSWQSGAoHdmVyc2lvbhgDIAEoCVIHdmVyc2lvbhIgCgtkZXNjcmlwdGlvbhgEIAEoCVILZGVzY3JpcHRpb24SKwoGc2NvcGVzGAUgAygLMhMubW9kZXhlY3V0aW9uLnNjb3BlUgZzY29wZXMibAoOY2FsbF9vcGVyYXRpb24SJQoLY29udHJhY3RfaWQYASABKAxCBIC1GAZSCmNvbnRyYWN0SWQSHwoLZW50cnlfcG9pbnQYAiABKA1SCmVudHJ5UG9pbnQSEgoEYXJncxgDIAEoDFIEYXJncyJKCgxleGVjdXRlX2FyZ3MSOgoJb3BlcmF0aW9uGAEgASgLMhwubW9kZXhlY3V0aW9uLmNhbGxfb3BlcmF0aW9uUglvcGVyYXRpb25iBnByb3RvMwocCgtlbXB0eS5wcm90bxIFZW1wdHliBnByb3RvMw==", "koilib_types": { "nested": { "modexecution": { "nested": { "on_install_args": { "fields": { "data": { "type": "bytes", "id": 1 } } }, "on_uninstall_args": { "fields": { "data": { "type": "bytes", "id": 1 } } }, "is_type_args": { "fields": { "type_id": { "type": "uint32", "id": 1 } } }, "is_type_result": { "fields": { "value": { "type": "bool", "id": 1 } } }, "scope": { "fields": { "entry_point": { "type": "uint32", "id": 1 }, "contract_id": { "type": "bytes", "id": 2, "options": { "(koinos.btype)": "ADDRESS" } } } }, "manifest": { "fields": { "name": { "type": "string", "id": 1 }, "type_id": { "type": "uint32", "id": 2 }, "version": { "type": "string", "id": 3 }, "description": { "type": "string", "id": 4 }, "scopes": { "rule": "repeated", "type": "scope", "id": 5 } } }, "call_operation": { "fields": { "contract_id": { "type": "bytes", "id": 1, "options": { "(koinos.btype)": "ADDRESS" } }, "entry_point": { "type": "uint32", "id": 2 }, "args": { "type": "bytes", "id": 3 } } }, "execute_args": { "fields": { "operation": { "type": "call_operation", "id": 1 } } } } }, "koinos": { "options": { "go_package": "github.com/koinos/koinos-proto-golang/koinos" }, "nested": { "bytes_type": { "values": { "BASE64": 0, "BASE58": 1, "HEX": 2, "BLOCK_ID": 3, "TRANSACTION_ID": 4, "CONTRACT_ID": 5, "ADDRESS": 6 } }, "_btype": { "oneof": [ "btype" ] }, "btype": { "type": "bytes_type", "id": 50000, "extend": "google.protobuf.FieldOptions", "options": { "proto3_optional": true } } } }, "empty": {} } } }