UNPKG

@veive-io/mod-validation-multisign-as

Version:

Validation multisign module for Veive

376 lines 12 kB
{ "methods": { "is_authorized": { "argument": "modvalidation.authorize_arguments", "return": "modvalidation.authorize_result", "description": "Validate operation by checking allowance", "entry_point": 1730108407, "read_only": false, "entry-point": "0x671f5bf7", "read-only": false }, "set_threshold": { "argument": "modvalidationmultisign.set_threshold_args", "return": "", "description": "", "entry_point": 169089600, "read_only": false, "entry-point": "0x0a141a40", "read-only": false }, "get_threshold": { "argument": "modvalidationmultisign.get_threshold_args", "return": "modvalidationmultisign.get_threshold_result", "description": "", "entry_point": 16737530, "read_only": true, "entry-point": "0x00ff64fa", "read-only": true }, "on_install": { "argument": "modvalidation.on_install_args", "return": "", "description": "", "entry_point": 3548460345, "read_only": false, "entry-point": "0xd3813539", "read-only": false }, "manifest": { "argument": "", "return": "modvalidation.manifest", "description": "", "entry_point": 95661042, "read_only": true, "entry-point": "0x05b3abf2", "read-only": true }, "add_guardian": { "argument": "modvalidationmultisign.add_guardian_args", "return": "", "description": "Add a guardian", "entry_point": 2899776004, "read_only": false, "entry-point": "0xacd71204", "read-only": false }, "remove_guardian": { "argument": "modvalidationmultisign.remove_guardian_args", "return": "", "description": "Remove a guardian", "entry_point": 1869593601, "read_only": false, "entry-point": "0x6f6fbc01", "read-only": false }, "get_guardians": { "argument": "modvalidationmultisign.get_guardians_args", "return": "modvalidationmultisign.get_guardians_result", "description": "Get all guardians", "entry_point": 4031501771, "read_only": true, "entry-point": "0xf04bd5cb", "read-only": true }, "on_uninstall": { "argument": "modvalidation.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": "modvalidation.is_type_args", "return": "modvalidation.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, "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{ "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": { "operation_type": { "type": "string", "id": 1 }, "entry_point": { "type": "uint32", "id": 2 }, "contract_id": { "type": "bytes", "id": 3, "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_data": { "fields": { "contract_id": { "type": "bytes", "id": 1 }, "entry_point": { "type": "uint32", "id": 2 }, "caller": { "type": "bytes", "id": 3 }, "data": { "type": "bytes", "id": 4 } } }, "authorization_type": { "values": { "contract_call": 0, "transaction_application": 1, "contract_upload": 2 } }, "authorize_arguments": { "fields": { "type": { "type": "authorization_type", "id": 1 }, "call": { "type": "call_data", "id": 2 } } }, "authorize_result": { "fields": { "value": { "type": "bool", "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 } } } }, "modvalidationmultisign": { "nested": { "threshold": { "fields": { "value": { "type": "uint32", "id": 1 } } }, "set_threshold_args": { "fields": { "user": { "type": "bytes", "id": 1, "options": { "(koinos.btype)": "ADDRESS" } }, "value": { "type": "uint32", "id": 2 } } }, "get_threshold_args": { "fields": { "user": { "type": "bytes", "id": 1, "options": { "(koinos.btype)": "ADDRESS" } }, "value": { "type": "uint32", "id": 2 } } }, "get_threshold_result": { "fields": { "value": { "type": "uint32", "id": 1 } } }, "guardians": { "fields": { "value": { "rule": "repeated", "type": "bytes", "id": 1, "options": { "(koinos.btype)": "ADDRESS" } } } }, "add_guardian_args": { "fields": { "user": { "type": "bytes", "id": 1, "options": { "(koinos.btype)": "ADDRESS" } }, "address": { "type": "bytes", "id": 2, "options": { "(koinos.btype)": "ADDRESS" } } } }, "remove_guardian_args": { "fields": { "user": { "type": "bytes", "id": 1, "options": { "(koinos.btype)": "ADDRESS" } }, "address": { "type": "bytes", "id": 2, "options": { "(koinos.btype)": "ADDRESS" } } } }, "get_guardians_args": { "fields": { "user": { "type": "bytes", "id": 1, "options": { "(koinos.btype)": "ADDRESS" } } } }, "get_guardians_result": { "fields": { "value": { "rule": "repeated", "type": "bytes", "id": 1 } } } } }, "empty": {} } } }