-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #196 from valory-xyz/mode
chore: adding mode scripts
- Loading branch information
Showing
18 changed files
with
8,490 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
{ | ||
"_format": "hh-sol-artifact-1", | ||
"contractName": "GnosisSafeMultisig", | ||
"sourceName": "contracts/multisigs/GnosisSafeMultisig.sol", | ||
"abi": [ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address payable", | ||
"name": "_gnosisSafe", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "_gnosisSafeProxyFactory", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "expected", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "provided", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "IncorrectDataLength", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "DEFAULT_DATA_LENGTH", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "GNOSIS_SAFE_SETUP_SELECTOR", | ||
"outputs": [ | ||
{ | ||
"internalType": "bytes4", | ||
"name": "", | ||
"type": "bytes4" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address[]", | ||
"name": "owners", | ||
"type": "address[]" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "threshold", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "bytes", | ||
"name": "data", | ||
"type": "bytes" | ||
} | ||
], | ||
"name": "create", | ||
"outputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "multisig", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "gnosisSafe", | ||
"outputs": [ | ||
{ | ||
"internalType": "address payable", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "gnosisSafeProxyFactory", | ||
"outputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
], | ||
"bytecode": "0x60c060405234801561000f575f5ffd5b5060405161083338038061083383398101604081905261002e9161005c565b6001600160a01b039182166080521660a052610094565b6001600160a01b0381168114610059575f5ffd5b50565b5f5f6040838503121561006d575f5ffd5b825161007881610045565b602084015190925061008981610045565b809150509250929050565b60805160a0516107726100c15f395f8181606d01526101f501525f818160f0015261022201526107725ff3fe608060405234801561000f575f5ffd5b5060043610610064575f3560e01c8063a84173ae1161004d578063a84173ae146100eb578063f02fb77414610112578063f398dba814610128575f5ffd5b8063490b7a79146100685780639f1a308d146100ac575b5f5ffd5b61008f7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100ba63b63e800d60e01b81565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020016100a3565b61008f7f000000000000000000000000000000000000000000000000000000000000000081565b61011a609081565b6040519081526020016100a3565b61008f6101363660046104bd565b5f5f5f5f5f5f5f5f6101478961029e565b96509650965096509650965096505f63b63e800d60e01b8c8c8a858b8b8a8c60405160240161017d9897969594939291906105d2565b60408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909416939093179092529051631688f0b960e01b81529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631688f0b99061024e907f00000000000000000000000000000000000000000000000000000000000000009085908890600401610695565b6020604051808303815f875af115801561026a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061028e91906106c6565b9c9b505050505050505050505050565b5f5f5f5f5f5f60605f885190505f8111156103e95760908110156102e357604051631a64813d60e11b8152609060048201526024810182905260440160405180910390fd5b601489015160288a0151603c8b015160508c015160708d01516090808f0151959d50939b50919950975095509093508111156103e9575f6103256090836106fc565b90508067ffffffffffffffff811115610340576103406103f5565b6040519080825280601f01601f19166020018201604052801561036a576020820181803683370190505b5092505f5b818110156103e6578a610383609083610715565b8151811061039357610393610728565b602001015160f81c60f81b8482815181106103b0576103b0610728565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a90535060010161036f565b50505b50919395979092949650565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610432576104326103f5565b604052919050565b6001600160a01b038116811461044e575f5ffd5b50565b5f82601f830112610460575f5ffd5b813567ffffffffffffffff81111561047a5761047a6103f5565b61048d601f8201601f1916602001610409565b8181528460208386010111156104a1575f5ffd5b816020850160208301375f918101602001919091529392505050565b5f5f5f606084860312156104cf575f5ffd5b833567ffffffffffffffff8111156104e5575f5ffd5b8401601f810186136104f5575f5ffd5b803567ffffffffffffffff81111561050f5761050f6103f5565b8060051b61051f60208201610409565b9182526020818401810192908101908984111561053a575f5ffd5b6020850194505b8385101561056857843592506105568361043a565b82825260209485019490910190610541565b96505050506020850135925050604084013567ffffffffffffffff81111561058e575f5ffd5b61059a86828701610451565b9150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b61010080825289519082018190525f9060208b0190610120840190835b818110156106165783516001600160a01b03168352602093840193909201916001016105ef565b50508a6020850152610633604085018b6001600160a01b03169052565b8381036060850152610645818a6105a4565b9250505061065e60808301876001600160a01b03169052565b6001600160a01b03851660a08301528360c083015261068860e08301846001600160a01b03169052565b9998505050505050505050565b6001600160a01b0384168152606060208201525f6106b660608301856105a4565b9050826040830152949350505050565b5f602082840312156106d6575f5ffd5b81516106e18161043a565b9392505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561070f5761070f6106e8565b92915050565b8082018082111561070f5761070f6106e8565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122018fa7773e83746ac550eab8063897767830e0601355103d74b989440761b0fb964736f6c634300081c0033", | ||
"deployedBytecode": "0x608060405234801561000f575f5ffd5b5060043610610064575f3560e01c8063a84173ae1161004d578063a84173ae146100eb578063f02fb77414610112578063f398dba814610128575f5ffd5b8063490b7a79146100685780639f1a308d146100ac575b5f5ffd5b61008f7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100ba63b63e800d60e01b81565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020016100a3565b61008f7f000000000000000000000000000000000000000000000000000000000000000081565b61011a609081565b6040519081526020016100a3565b61008f6101363660046104bd565b5f5f5f5f5f5f5f5f6101478961029e565b96509650965096509650965096505f63b63e800d60e01b8c8c8a858b8b8a8c60405160240161017d9897969594939291906105d2565b60408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909416939093179092529051631688f0b960e01b81529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631688f0b99061024e907f00000000000000000000000000000000000000000000000000000000000000009085908890600401610695565b6020604051808303815f875af115801561026a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061028e91906106c6565b9c9b505050505050505050505050565b5f5f5f5f5f5f60605f885190505f8111156103e95760908110156102e357604051631a64813d60e11b8152609060048201526024810182905260440160405180910390fd5b601489015160288a0151603c8b015160508c015160708d01516090808f0151959d50939b50919950975095509093508111156103e9575f6103256090836106fc565b90508067ffffffffffffffff811115610340576103406103f5565b6040519080825280601f01601f19166020018201604052801561036a576020820181803683370190505b5092505f5b818110156103e6578a610383609083610715565b8151811061039357610393610728565b602001015160f81c60f81b8482815181106103b0576103b0610728565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a90535060010161036f565b50505b50919395979092949650565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610432576104326103f5565b604052919050565b6001600160a01b038116811461044e575f5ffd5b50565b5f82601f830112610460575f5ffd5b813567ffffffffffffffff81111561047a5761047a6103f5565b61048d601f8201601f1916602001610409565b8181528460208386010111156104a1575f5ffd5b816020850160208301375f918101602001919091529392505050565b5f5f5f606084860312156104cf575f5ffd5b833567ffffffffffffffff8111156104e5575f5ffd5b8401601f810186136104f5575f5ffd5b803567ffffffffffffffff81111561050f5761050f6103f5565b8060051b61051f60208201610409565b9182526020818401810192908101908984111561053a575f5ffd5b6020850194505b8385101561056857843592506105568361043a565b82825260209485019490910190610541565b96505050506020850135925050604084013567ffffffffffffffff81111561058e575f5ffd5b61059a86828701610451565b9150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b61010080825289519082018190525f9060208b0190610120840190835b818110156106165783516001600160a01b03168352602093840193909201916001016105ef565b50508a6020850152610633604085018b6001600160a01b03169052565b8381036060850152610645818a6105a4565b9250505061065e60808301876001600160a01b03169052565b6001600160a01b03851660a08301528360c083015261068860e08301846001600160a01b03169052565b9998505050505050505050565b6001600160a01b0384168152606060208201525f6106b660608301856105a4565b9050826040830152949350505050565b5f602082840312156106d6575f5ffd5b81516106e18161043a565b9392505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561070f5761070f6106e8565b92915050565b8082018082111561070f5761070f6106e8565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122018fa7773e83746ac550eab8063897767830e0601355103d74b989440761b0fb964736f6c634300081c0033", | ||
"linkReferences": {}, | ||
"deployedLinkReferences": {} | ||
} |
Oops, something went wrong.