Skip to content

Commit

Permalink
Add GnosisSafeProxyFactory ABI
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed May 7, 2024
1 parent e7f35a1 commit 558a1b2
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions src/assets/abi/GnosisSafeProxyFactory.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
const GnosisSafeProxyFactoryAbi = [
{
anonymous: false,
inputs: [
{ indexed: false, internalType: 'contract GnosisSafeProxy', name: 'proxy', type: 'address' },
{ indexed: false, internalType: 'address', name: 'singleton', type: 'address' },
],
name: 'ProxyCreation',
type: 'event',
},
{
inputs: [
{ internalType: 'address', name: '_singleton', type: 'address' },
{ internalType: 'bytes', name: 'initializer', type: 'bytes' },
{ internalType: 'uint256', name: 'saltNonce', type: 'uint256' },
],
name: 'calculateCreateProxyWithNonceAddress',
outputs: [{ internalType: 'contract GnosisSafeProxy', name: 'proxy', type: 'address' }],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{ internalType: 'address', name: 'singleton', type: 'address' },
{ internalType: 'bytes', name: 'data', type: 'bytes' },
],
name: 'createProxy',
outputs: [{ internalType: 'contract GnosisSafeProxy', name: 'proxy', type: 'address' }],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{ internalType: 'address', name: '_singleton', type: 'address' },
{ internalType: 'bytes', name: 'initializer', type: 'bytes' },
{ internalType: 'uint256', name: 'saltNonce', type: 'uint256' },
{ internalType: 'contract IProxyCreationCallback', name: 'callback', type: 'address' },
],
name: 'createProxyWithCallback',
outputs: [{ internalType: 'contract GnosisSafeProxy', name: 'proxy', type: 'address' }],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{ internalType: 'address', name: '_singleton', type: 'address' },
{ internalType: 'bytes', name: 'initializer', type: 'bytes' },
{ internalType: 'uint256', name: 'saltNonce', type: 'uint256' },
],
name: 'createProxyWithNonce',
outputs: [{ internalType: 'contract GnosisSafeProxy', name: 'proxy', type: 'address' }],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'proxyCreationCode',
outputs: [{ internalType: 'bytes', name: '', type: 'bytes' }],
stateMutability: 'pure',
type: 'function',
},
{
inputs: [],
name: 'proxyRuntimeCode',
outputs: [{ internalType: 'bytes', name: '', type: 'bytes' }],
stateMutability: 'pure',
type: 'function',
},
] as const;

export default GnosisSafeProxyFactoryAbi;

0 comments on commit 558a1b2

Please sign in to comment.