@zerodev/sdk
Version:
A utility library for working with ERC-4337
82 lines (81 loc) • 1.99 kB
text/typescript
export const TokenActionsAbi = [
{
inputs: [
{
internalType: "address",
name: "_token",
type: "address"
},
{
internalType: "uint256",
name: "_amount",
type: "uint256"
},
{
internalType: "address",
name: "_to",
type: "address"
}
],
name: "transfer20Action",
outputs: [],
stateMutability: "nonpayable",
type: "function"
},
{
inputs: [
{
internalType: "address",
name: "_token",
type: "address"
},
{
internalType: "uint256",
name: "_id",
type: "uint256"
},
{
internalType: "address",
name: "_to",
type: "address"
},
{
internalType: "uint256",
name: "amount",
type: "uint256"
},
{
internalType: "bytes",
name: "data",
type: "bytes"
}
],
name: "transferERC1155Action",
outputs: [],
stateMutability: "nonpayable",
type: "function"
},
{
inputs: [
{
internalType: "address",
name: "_token",
type: "address"
},
{
internalType: "uint256",
name: "_id",
type: "uint256"
},
{
internalType: "address",
name: "_to",
type: "address"
}
],
name: "transferERC721Action",
outputs: [],
stateMutability: "nonpayable",
type: "function"
}
] as const