UNPKG

@smartinvoicexyz/constants

Version:

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

160 lines (159 loc) 3.57 kB
export const SMART_INVOICE_INSTANT_ABI = [ { inputs: [], name: 'deadline', outputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address', name: '_token', type: 'address', }, { internalType: 'uint256', name: '_amount', type: 'uint256', }, ], name: 'depositTokens', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'fulfilled', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'getTotalDue', outputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address', name: '_recipient', type: 'address', }, { internalType: 'uint256[]', name: '_amounts', type: 'uint256[]', }, { internalType: 'bytes', name: '_data', type: 'bytes', }, ], name: 'init', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'lateFee', outputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'lateFeeTimeInterval', outputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address', name: '_token', type: 'address', }, { internalType: 'uint256', name: '_amount', type: 'uint256', }, ], name: 'tip', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'totalFulfilled', outputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'withdraw', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: '_token', type: 'address', }, ], name: 'withdrawTokens', outputs: [], stateMutability: 'nonpayable', type: 'function', }, ];