|
| 1 | +export const PARSE_AND_VERIFY_VM_ABI = { |
| 2 | + inputs: [{ internalType: 'bytes', name: 'encodedVM', type: 'bytes' }], |
| 3 | + name: 'parseAndVerifyVM', |
| 4 | + outputs: [ |
| 5 | + { |
| 6 | + components: [ |
| 7 | + { internalType: 'uint8', name: 'version', type: 'uint8' }, |
| 8 | + { internalType: 'uint32', name: 'timestamp', type: 'uint32' }, |
| 9 | + { internalType: 'uint32', name: 'nonce', type: 'uint32' }, |
| 10 | + { internalType: 'uint16', name: 'emitterChainId', type: 'uint16' }, |
| 11 | + { internalType: 'bytes32', name: 'emitterAddress', type: 'bytes32' }, |
| 12 | + { internalType: 'uint64', name: 'sequence', type: 'uint64' }, |
| 13 | + { internalType: 'uint8', name: 'consistencyLevel', type: 'uint8' }, |
| 14 | + { internalType: 'bytes', name: 'payload', type: 'bytes' }, |
| 15 | + { internalType: 'uint32', name: 'guardianSetIndex', type: 'uint32' }, |
| 16 | + { |
| 17 | + components: [ |
| 18 | + { internalType: 'bytes32', name: 'r', type: 'bytes32' }, |
| 19 | + { internalType: 'bytes32', name: 's', type: 'bytes32' }, |
| 20 | + { internalType: 'uint8', name: 'v', type: 'uint8' }, |
| 21 | + { internalType: 'uint8', name: 'guardianIndex', type: 'uint8' }, |
| 22 | + ], |
| 23 | + internalType: 'struct Structs.Signature[]', |
| 24 | + name: 'signatures', |
| 25 | + type: 'tuple[]', |
| 26 | + }, |
| 27 | + { internalType: 'bytes32', name: 'hash', type: 'bytes32' }, |
| 28 | + ], |
| 29 | + internalType: 'struct Structs.VM', |
| 30 | + name: 'vm', |
| 31 | + type: 'tuple', |
| 32 | + }, |
| 33 | + { internalType: 'bool', name: 'valid', type: 'bool' }, |
| 34 | + { internalType: 'string', name: 'reason', type: 'string' }, |
| 35 | + ], |
| 36 | + stateMutability: 'view', |
| 37 | + type: 'function', |
| 38 | +}; |
0 commit comments