@citizenwallet/sdk
Version:
An sdk to easily work with citizen wallet.
243 lines (242 loc) • 6 kB
JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_communityModule",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "NAME",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "VERSION",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "createAccount",
"inputs": [
{
"name": "_owner",
"type": "address",
"internalType": "address"
},
{
"name": "_nonce",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "createChainSpecificProxyWithNonce",
"inputs": [
{
"name": "_singleton",
"type": "address",
"internalType": "address"
},
{
"name": "initializer",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "saltNonce",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract SafeProxy"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "createProxyWithCallback",
"inputs": [
{
"name": "_singleton",
"type": "address",
"internalType": "address"
},
{
"name": "initializer",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "saltNonce",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "callback",
"type": "address",
"internalType": "contract IProxyCreationCallback"
}
],
"outputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract SafeProxy"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "createProxyWithNonce",
"inputs": [
{
"name": "_singleton",
"type": "address",
"internalType": "address"
},
{
"name": "initializer",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "saltNonce",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract SafeProxy"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "enableModules",
"inputs": [
{
"name": "_safe",
"type": "address",
"internalType": "address"
},
{
"name": "_safeModules",
"type": "address[]",
"internalType": "address[]"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "getAddress",
"inputs": [
{
"name": "_owner",
"type": "address",
"internalType": "address"
},
{
"name": "_nonce",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getChainId",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "proxyCreationCode",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "pure"
},
{
"type": "event",
"name": "ProxyCreation",
"inputs": [
{
"name": "proxy",
"type": "address",
"indexed": true,
"internalType": "contract SafeProxy"
},
{
"name": "singleton",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
}
]