@veive-io/mod-sign-mnemonic-as
Version:
## **Overview**
173 lines • 5.78 kB
JSON
{
"methods": {
"is_valid_signature": {
"argument": "modsign.is_valid_signature_args",
"return": "modsign.is_valid_signature_result",
"description": "Validates an ECDSA signature to ensure the authenticity of a transaction. This method checks the length of the provided signature, recovers the public key from the signature and transaction ID, and verifies that the recovered address matches the expected sender.",
"entry_point": 1253549243,
"read_only": false,
"entry-point": "0x4ab7a4bb",
"read-only": false
},
"manifest": {
"argument": "",
"return": "modsign.manifest",
"description": "",
"entry_point": 95661042,
"read_only": true,
"entry-point": "0x05b3abf2",
"read-only": true
},
"on_install": {
"argument": "modsign.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": "modsign.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": "modsign.is_type_args",
"return": "modsign.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
}
},
"types": "CvkDChVtb2RzaWduL21vZHNpZ24ucHJvdG8SB21vZHNpZ24aFGtvaW5vcy9vcHRpb25zLnByb3RvIiUKD29uX2luc3RhbGxfYXJncxISCgRkYXRhGAEgASgMUgRkYXRhIicKEW9uX3VuaW5zdGFsbF9hcmdzEhIKBGRhdGEYASABKAxSBGRhdGEiJwoMaXNfdHlwZV9hcmdzEhcKB3R5cGVfaWQYASABKA1SBnR5cGVJZCImCg5pc190eXBlX3Jlc3VsdBIUCgV2YWx1ZRgBIAEoCFIFdmFsdWUicwoIbWFuaWZlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIXCgd0eXBlX2lkGAIgASgNUgZ0eXBlSWQSGAoHdmVyc2lvbhgDIAEoCVIHdmVyc2lvbhIgCgtkZXNjcmlwdGlvbhgEIAEoCVILZGVzY3JpcHRpb24icAoXaXNfdmFsaWRfc2lnbmF0dXJlX2FyZ3MSHAoGc2VuZGVyGAEgASgMQgSAtRgGUgZzZW5kZXISHAoJc2lnbmF0dXJlGAIgASgMUglzaWduYXR1cmUSGQoFdHhfaWQYAyABKAxCBIC1GAJSBHR4SWQiMQoZaXNfdmFsaWRfc2lnbmF0dXJlX3Jlc3VsdBIUCgV2YWx1ZRgBIAEoCFIFdmFsdWViBnByb3RvMwocCgtlbXB0eS5wcm90bxIFZW1wdHliBnByb3RvMwo0ChVtb2RzaWdubW5lbW9uaWMucHJvdG8SE21vZHZhbGlkYXRlbW5lbW9uaWNiBnByb3RvMw==",
"koilib_types": {
"nested": {
"modsign": {
"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
}
}
},
"manifest": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"type_id": {
"type": "uint32",
"id": 2
},
"version": {
"type": "string",
"id": 3
},
"description": {
"type": "string",
"id": 4
}
}
},
"is_valid_signature_args": {
"fields": {
"sender": {
"type": "bytes",
"id": 1,
"options": {
"(koinos.btype)": "ADDRESS"
}
},
"signature": {
"type": "bytes",
"id": 2
},
"tx_id": {
"type": "bytes",
"id": 3,
"options": {
"(koinos.btype)": "HEX"
}
}
}
},
"is_valid_signature_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
}
}
}
},
"empty": {},
"modvalidatemnemonic": {}
}
}
}