UNPKG

@smartinvoicexyz/constants

Version:

Unified source for configs and constants used across the Smart Invoice protocol.

206 lines (205 loc) 5.11 kB
export const SMART_INVOICE_FACTORY_ABI = [ { anonymous: false, inputs: [ { indexed: true, internalType: 'bytes32', name: 'name', type: 'bytes32', }, { indexed: true, internalType: 'uint256', name: 'version', type: 'uint256', }, { indexed: false, internalType: 'address', name: 'implementation', type: 'address', }, ], name: 'AddImplementation', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'uint256', name: 'index', type: 'uint256', }, { indexed: true, internalType: 'address', name: 'invoice', type: 'address', }, { indexed: false, internalType: 'uint256[]', name: 'amounts', type: 'uint256[]', }, { indexed: false, internalType: 'bytes32', name: 'invoiceType', type: 'bytes32', }, { indexed: false, internalType: 'uint256', name: 'version', type: 'uint256', }, ], name: 'LogNewInvoice', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'resolver', type: 'address', }, { indexed: true, internalType: 'uint256', name: 'resolutionRate', type: 'uint256', }, { indexed: false, internalType: 'bytes32', name: 'details', type: 'bytes32', }, ], name: 'UpdateResolutionRate', type: 'event', }, { inputs: [ { internalType: 'address', name: '_recipient', type: 'address', }, { internalType: 'uint256[]', name: '_amounts', type: 'uint256[]', }, { internalType: 'bytes', name: '_data', type: 'bytes', }, { internalType: 'bytes32', name: '_type', type: 'bytes32', }, ], name: 'create', outputs: [ { internalType: 'address', name: '', type: 'address', }, ], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: '_recipient', type: 'address', }, { internalType: 'uint256[]', name: '_amounts', type: 'uint256[]', }, { internalType: 'bytes', name: '_data', type: 'bytes', }, { internalType: 'bytes32', name: '_type', type: 'bytes32', }, { internalType: 'bytes32', name: '_salt', type: 'bytes32', }, ], name: 'createDeterministic', outputs: [ { internalType: 'address', name: '', type: 'address', }, ], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'bytes32', name: '_type', type: 'bytes32', }, { internalType: 'bytes32', name: '_salt', type: 'bytes32', }, ], name: 'predictDeterministicAddress', outputs: [ { internalType: 'address', name: '', type: 'address', }, ], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: '_resolver', type: 'address', }, ], name: 'resolutionRateOf', outputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], stateMutability: 'view', type: 'function', }, ];