24 lines
538 B
TypeScript
24 lines
538 B
TypeScript
export const abi = [
|
|
{
|
|
type: 'function',
|
|
name: 'approve',
|
|
stateMutability: 'nonpayable',
|
|
inputs: [
|
|
{ name: 'spender', type: 'address' },
|
|
{ name: 'amount', type: 'uint256' },
|
|
],
|
|
outputs: [{ type: 'bool' }],
|
|
},
|
|
{
|
|
type: 'function',
|
|
name: 'transferFrom',
|
|
stateMutability: 'nonpayable',
|
|
inputs: [
|
|
{ name: 'sender', type: 'address' },
|
|
{ name: 'recipient', type: 'address' },
|
|
{ name: 'amount', type: 'uint256' },
|
|
],
|
|
outputs: [{ type: 'bool' }],
|
|
},
|
|
] as const
|