Files
12600fcd42 feat(extension): Account Abstraction (#2510)
* wip: checkpoint

* wip: checkpoint

* wip: checkpoint

* wip: checkpoint

* docs: stub sidebar

* chore: snapshots

* wip: solady signTypedData

* chore: comments

* wip

* wip: utilize getEip712Domain

* fix

* wip: refactor

* tests

* fix types

* types

* chore: update test

* wip: checkpoint

* wip: checkpoint

* wip: checkpoint

* wip: checkpoint

* wip: checkpoint

* wip: checkpoint

* wip: checkpoint

* wip: EP 0.6 types

* wip: checkpoint

* wip: checkpoint

* wip: ep 0.6

* wip: type test

* wip: errors

* wip

* wip

* wip

* wip: errors

* wip: knip

* wip: fix

* wip: fix

* wip: no more experimental

* wip: errors

* wip: errors

* wip: docs init

* wip: docs

* docs

* wip: errors

* wip: checkpoint

* wip: update tests

* wip: debug bundler types

* wip: tweak test

* test: fix

* wip: getUserOperation

* wip: waitForUserOperationReceipt

* wip: update tests

* wip: tweaks

* wip: tweaks

* wip

* wip: checkpoint

* wip: docs

* wip: checkpoint

* wip: checkpoint

* chore: rebase

* chore: snaps

* wip: errors

* chore: update test

* test

* test

* tests

* fix

* fix

* docs

* update

* skip

* fix

* chore: up

* chore: up

* chore: up

* chore: up

* chore: up

* chore: size

* chore: update submodule

* chore: rename mock account

* wip

* tweak: account sigs

* tests: cb

* docs: sidebar

* wip: webauthn accounts + coinbase p256 owners

* chore: size-limit

* docs

* chore: bump vocs

* chore: refactor structure

* chore: refactor accounts

* chore: up site

* chore: up

* chore: up

* chore: snapshots

* chore: up

* chore: up

* chore: up

* chore: up

* chore: up

* chore: up

* chore: up

* chore: up site

* chore: up

* chore: up

* docs: up

* wip: solady deployments

* chore: up

* chore: up

* chore: up

* wip: paymasters

* tests: up

* chore: up docs

* chore: simplify account types

* chore: merge

* docs: up

* docs: tweak

* chore: tweak docs; tweak nonce impl

* docs: up

* chore: changeset

* chore: up size

* chore: tweak tests

* fix: types

* docs: tweaks

* chore: up

Co-authored-by: awkweb <[email protected]>

* chore: up

Co-authored-by: awkweb <[email protected]>

* chore: up

Co-authored-by: awkweb <[email protected]>

* chore: up

Co-authored-by: awkweb <[email protected]>

* docs: pimlico

* chore: rm internalType

* docs: up pimlico usage

* chore: error types

* chore: error types

* docs: up note

* chore: knip

* chore: up snaps

* chore: add paymaster to example

* chore: format

* docs: tweaks

* format

* tweak: smart account types

* chore: format

* chore: tweaks

* chore: format

* test: up

* chore: knip

* chore: tweaks

* docs: up

---------

Co-authored-by: awkweb <[email protected]>
2024-07-25 04:28:39 +10:00

203 lines
4.6 KiB
TypeScript

export const wagmiContract = {
address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
abi: [
{ inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
{
anonymous: false,
inputs: [
{
indexed: true,
name: 'owner',
type: 'address',
},
{
indexed: true,
name: 'approved',
type: 'address',
},
{
indexed: true,
name: 'tokenId',
type: 'uint256',
},
],
name: 'Approval',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
name: 'owner',
type: 'address',
},
{
indexed: true,
name: 'operator',
type: 'address',
},
{
indexed: false,
name: 'approved',
type: 'bool',
},
],
name: 'ApprovalForAll',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
name: 'from',
type: 'address',
},
{ indexed: true, name: 'to', type: 'address' },
{
indexed: true,
name: 'tokenId',
type: 'uint256',
},
],
name: 'Transfer',
type: 'event',
},
{
inputs: [
{ name: 'to', type: 'address' },
{ name: 'tokenId', type: 'uint256' },
],
name: 'approve',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{ name: 'owner', type: 'address' }],
name: 'balanceOf',
outputs: [{ name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ name: 'tokenId', type: 'uint256' }],
name: 'getApproved',
outputs: [{ name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{ name: 'owner', type: 'address' },
{ name: 'operator', type: 'address' },
],
name: 'isApprovedForAll',
outputs: [{ name: '', type: 'bool' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'mint',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{ name: 'tokenId', type: 'uint256' }],
name: 'mint',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'name',
outputs: [{ name: '', type: 'string' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ name: 'tokenId', type: 'uint256' }],
name: 'ownerOf',
outputs: [{ name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{ name: 'from', type: 'address' },
{ name: 'to', type: 'address' },
{ name: 'tokenId', type: 'uint256' },
],
name: 'safeTransferFrom',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{ name: 'from', type: 'address' },
{ name: 'to', type: 'address' },
{ name: 'tokenId', type: 'uint256' },
{ name: '_data', type: 'bytes' },
],
name: 'safeTransferFrom',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{ name: 'operator', type: 'address' },
{ name: 'approved', type: 'bool' },
],
name: 'setApprovalForAll',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{ name: 'interfaceId', type: 'bytes4' }],
name: 'supportsInterface',
outputs: [{ name: '', type: 'bool' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'symbol',
outputs: [{ name: '', type: 'string' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ name: 'tokenId', type: 'uint256' }],
name: 'tokenURI',
outputs: [{ name: '', type: 'string' }],
stateMutability: 'pure',
type: 'function',
},
{
inputs: [],
name: 'totalSupply',
outputs: [{ name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{ name: 'from', type: 'address' },
{ name: 'to', type: 'address' },
{ name: 'tokenId', type: 'uint256' },
],
name: 'transferFrom',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
],
} as const