Skip to content

Instantly share code, notes, and snippets.

@0xhank
Created April 22, 2025 19:09
Show Gist options
  • Save 0xhank/ea7ada247b36e87af24492d5e314b13e to your computer and use it in GitHub Desktop.
Save 0xhank/ea7ada247b36e87af24492d5e314b13e to your computer and use it in GitHub Desktop.
Error creating coin: ContractFunctionExecutionError: The contract function "deploy" reverted with the following signature:
0xf0b986c0
Unable to decode signature "0xf0b986c0" as it was not found on the provided ABI.
Make sure you are using the correct ABI and that the error exists on it.
You can look up the decoded signature here: https://openchain.xyz/signatures?query=0xf0b986c0.
Contract Call:
address: 0x777777751622c0d3258f214F9DF38E35BF45baF3
function: deploy(address payoutRecipient, address[] owners, string uri, string name, string symbol, bytes poolConfig, address platformReferrer, uint256 orderSize)
args: (0x7C219f5066Fbb842Ce77260B5ff0CAE8a42D4B5c, ["0x7C219f5066Fbb842Ce77260B5ff0CAE8a42D4B5c"], ipfs://QmRCHnmPMdLMQRoi9WFcbjqKypEGJ1MseY6bHRh2SYZAZk, Spooky Season, SPOOKY, 0x00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2f70fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcf2c0000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000b1a2bc2ec50000, 0x7C219f5066Fbb842Ce77260B5ff0CAE8a42D4B5c, 100)
sender: 0x7C219f5066Fbb842Ce77260B5ff0CAE8a42D4B5c
Docs: https://viem.sh/docs/contract/decodeErrorResult
Version: [email protected]
at getContractError (/Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/viem/_cjs/utils/errors/getContractError.js:33:12)
at simulateContract (/Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/viem/_cjs/actions/public/simulateContract.js:45:41)
... 6 lines matching cause stack trace ...
at callRecursive (/Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/@[email protected][email protected]/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.js:148:24)
at callRecursive (/Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/@[email protected][email protected]/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.js:148:24) {
cause: ContractFunctionRevertedError: The contract function "deploy" reverted with the following signature:
0xf0b986c0
Unable to decode signature "0xf0b986c0" as it was not found on the provided ABI.
Make sure you are using the correct ABI and that the error exists on it.
You can look up the decoded signature here: https://openchain.xyz/signatures?query=0xf0b986c0.
Docs: https://viem.sh/docs/contract/decodeErrorResult
Version: [email protected]
at /Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/viem/_cjs/utils/errors/getContractError.js:22:20
... 6 lines matching cause stack trace ...
at /Users/henry/work/monaco/art-creation/server/src/index.ts:32:34
at resolveMiddleware (/Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/@[email protected][email protected]/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.js:107:30)
at callRecursive (/Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/@[email protected][email protected]/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.js:148:24) {
details: undefined,
docsPath: '/docs/contract/decodeErrorResult',
metaMessages: [
'Unable to decode signature "0xf0b986c0" as it was not found on the provided ABI.',
'Make sure you are using the correct ABI and that the error exists on it.',
'You can look up the decoded signature here: https://openchain.xyz/signatures?query=0xf0b986c0.'
],
shortMessage: 'The contract function "deploy" reverted with the following signature:\n' +
'0xf0b986c0',
version: '2.27.3',
data: undefined,
raw: '0xf0b986c0',
reason: undefined,
signature: '0xf0b986c0',
[cause]: AbiErrorSignatureNotFoundError: Encoded error signature "0xf0b986c0" not found on ABI.
Make sure you are using the correct ABI and that the error exists on it.
You can look up the decoded signature here: https://openchain.xyz/signatures?query=0xf0b986c0.
Docs: https://viem.sh/docs/contract/decodeErrorResult
Version: [email protected]
at decodeErrorResult (/Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/viem/_cjs/utils/abi/decodeErrorResult.js:18:15)
at new ContractFunctionRevertedError (/Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/viem/_cjs/errors/contract.js:151:58)
at /Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/viem/_cjs/utils/errors/getContractError.js:22:20
at getContractError (/Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/viem/_cjs/utils/errors/getContractError.js:32:5)
at simulateContract (/Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/viem/_cjs/actions/public/simulateContract.js:45:41)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at createCoin (/Users/henry/work/monaco/art-creation/server/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@zoralabs/coins-sdk/src/actions/createCoin.ts:102:23)
at executeCoinCreation (/Users/henry/work/monaco/art-creation/server/src/lib/create-zora-coin.ts:160:18)
at createCoin (/Users/henry/work/monaco/art-creation/server/src/lib/create-zora-coin.ts:63:20)
at /Users/henry/work/monaco/art-creation/server/src/index.ts:32:34 {
details: undefined,
docsPath: '/docs/contract/decodeErrorResult',
metaMessages: undefined,
shortMessage: 'Encoded error signature "0xf0b986c0" not found on ABI.\n' +
'Make sure you are using the correct ABI and that the error exists on it.\n' +
'You can look up the decoded signature here: https://openchain.xyz/signatures?query=0xf0b986c0.',
version: '2.27.3',
signature: '0xf0b986c0'
}
},
details: undefined,
docsPath: '/docs/contract/decodeErrorResult',
metaMessages: [
'Unable to decode signature "0xf0b986c0" as it was not found on the provided ABI.',
'Make sure you are using the correct ABI and that the error exists on it.',
'You can look up the decoded signature here: https://openchain.xyz/signatures?query=0xf0b986c0.',
' ',
'Contract Call:',
' address: 0x777777751622c0d3258f214F9DF38E35BF45baF3\n' +
' function: deploy(address payoutRecipient, address[] owners, string uri, string name, string symbol, bytes poolConfig, address platformReferrer, uint256 orderSize)\n' +
' args: (0x7C219f5066Fbb842Ce77260B5ff0CAE8a42D4B5c, ["0x7C219f5066Fbb842Ce77260B5ff0CAE8a42D4B5c"], ipfs://QmRCHnmPMdLMQRoi9WFcbjqKypEGJ1MseY6bHRh2SYZAZk, Spooky Season, SPOOKY, 0x00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2f70fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcf2c0000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000b1a2bc2ec50000, 0x7C219f5066Fbb842Ce77260B5ff0CAE8a42D4B5c, 100)\n' +
' sender: 0x7C219f5066Fbb842Ce77260B5ff0CAE8a42D4B5c'
],
shortMessage: 'The contract function "deploy" reverted with the following signature:\n' +
'0xf0b986c0',
version: '2.27.3',
abi: [
{
type: 'constructor',
inputs: [Array],
stateMutability: 'nonpayable'
},
{
type: 'function',
inputs: [],
name: 'UPGRADE_INTERFACE_VERSION',
outputs: [Array],
stateMutability: 'view'
},
{
type: 'function',
inputs: [],
name: 'coinImpl',
outputs: [Array],
stateMutability: 'view'
},
{
type: 'function',
inputs: [Array],
name: 'deploy',
outputs: [Array],
stateMutability: 'payable'
},
{
type: 'function',
inputs: [Array],
name: 'deploy',
outputs: [Array],
stateMutability: 'payable'
},
{
type: 'function',
inputs: [],
name: 'implementation',
outputs: [Array],
stateMutability: 'view'
},
{
type: 'function',
inputs: [Array],
name: 'initialize',
outputs: [],
stateMutability: 'nonpayable'
},
{
type: 'function',
inputs: [],
name: 'owner',
outputs: [Array],
stateMutability: 'view'
},
{
type: 'function',
inputs: [],
name: 'proxiableUUID',
outputs: [Array],
stateMutability: 'view'
},
{
type: 'function',
inputs: [],
name: 'renounceOwnership',
outputs: [],
stateMutability: 'nonpayable'
},
{
type: 'function',
inputs: [Array],
name: 'transferOwnership',
outputs: [],
stateMutability: 'nonpayable'
},
{
type: 'function',
inputs: [Array],
name: 'upgradeToAndCall',
outputs: [],
stateMutability: 'payable'
},
{
type: 'event',
anonymous: false,
inputs: [Array],
name: 'CoinCreated'
},
{
type: 'event',
anonymous: false,
inputs: [Array],
name: 'Initialized'
},
{
type: 'event',
anonymous: false,
inputs: [Array],
name: 'OwnershipTransferred'
},
{
type: 'event',
anonymous: false,
inputs: [Array],
name: 'Upgraded'
},
{ type: 'error', inputs: [Array], name: 'AddressEmptyCode' },
{
type: 'error',
inputs: [Array],
name: 'AddressInsufficientBalance'
},
{ type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
{
type: 'error',
inputs: [Array],
name: 'ERC1967InvalidImplementation'
},
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
{ type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
{ type: 'error', inputs: [], name: 'EthTransferInvalid' },
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
{ type: 'error', inputs: [], name: 'NotInitializing' },
{ type: 'error', inputs: [Array], name: 'OwnableInvalidOwner' },
{
type: 'error',
inputs: [Array],
name: 'OwnableUnauthorizedAccount'
},
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
{
type: 'error',
inputs: [Array],
name: 'SafeERC20FailedOperation'
},
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
{
type: 'error',
inputs: [Array],
name: 'UUPSUnsupportedProxiableUUID'
}
],
args: [
'0x7C219f5066Fbb842Ce77260B5ff0CAE8a42D4B5c',
[ '0x7C219f5066Fbb842Ce77260B5ff0CAE8a42D4B5c' ],
'ipfs://QmRCHnmPMdLMQRoi9WFcbjqKypEGJ1MseY6bHRh2SYZAZk',
'Spooky Season',
'SPOOKY',
'0x00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2f70fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcf2c0000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000b1a2bc2ec50000',
'0x7C219f5066Fbb842Ce77260B5ff0CAE8a42D4B5c',
100n
],
contractAddress: '0x777777751622c0d3258f214F9DF38E35BF45baF3',
formattedArgs: undefined,
functionName: 'deploy',
sender: '0x7C219f5066Fbb842Ce77260B5ff0CAE8a42D4B5c'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment