mirror of
https://github.com/Instadapp/fluid-contracts-public.git
synced 2024-07-29 21:57:37 +00:00
104 lines
8.0 KiB
JSON
104 lines
8.0 KiB
JSON
|
{
|
||
|
"address": "0x421Cfb713b1d21Af4cd94761c38D93ea3cD10FbC",
|
||
|
"abi": [
|
||
|
{
|
||
|
"anonymous": false,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"indexed": true,
|
||
|
"internalType": "address",
|
||
|
"name": "rebalancer",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"indexed": false,
|
||
|
"internalType": "bool",
|
||
|
"name": "isRebalancer",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"name": "LogUpdateRebalancer",
|
||
|
"type": "event"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "RESERVE",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "contract IFluidReserveContract",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [],
|
||
|
"name": "TEAM_MULTISIG",
|
||
|
"outputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "",
|
||
|
"type": "address"
|
||
|
}
|
||
|
],
|
||
|
"stateMutability": "view",
|
||
|
"type": "function"
|
||
|
},
|
||
|
{
|
||
|
"inputs": [
|
||
|
{
|
||
|
"internalType": "address",
|
||
|
"name": "rebalancer_",
|
||
|
"type": "address"
|
||
|
},
|
||
|
{
|
||
|
"internalType": "bool",
|
||
|
"name": "isRebalancer_",
|
||
|
"type": "bool"
|
||
|
}
|
||
|
],
|
||
|
"name": "updateRebalancer",
|
||
|
"outputs": [],
|
||
|
"stateMutability": "nonpayable",
|
||
|
"type": "function"
|
||
|
}
|
||
|
],
|
||
|
"transactionHash": "0x03341a5e25a2c64ef8fc18dd01a8a74c5b2126149b6a16e13fd0acec674da571",
|
||
|
"receipt": {
|
||
|
"to": "0x4e59b44847b379578588920cA78FbF26c0B4956C",
|
||
|
"from": "0x0Ed35B1609Ec45c7079E80d11149a52717e4859A",
|
||
|
"contractAddress": null,
|
||
|
"transactionIndex": 5,
|
||
|
"gasUsed": "249513",
|
||
|
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||
|
"blockHash": "0xd38a6251cb8e28811fc353c9b4372288cf75e49359e17f8555a29766c63ecac8",
|
||
|
"transactionHash": "0x03341a5e25a2c64ef8fc18dd01a8a74c5b2126149b6a16e13fd0acec674da571",
|
||
|
"logs": [],
|
||
|
"blockNumber": 228586709,
|
||
|
"cumulativeGasUsed": "715461",
|
||
|
"status": 1,
|
||
|
"byzantium": true
|
||
|
},
|
||
|
"args": [],
|
||
|
"numDeployments": 1,
|
||
|
"solcInputHash": "e6a5031683da44e09521fe6a300ed302",
|
||
|
"metadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rebalancer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isRebalancer\",\"type\":\"bool\"}],\"name\":\"LogUpdateRebalancer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"RESERVE\",\"outputs\":[{\"internalType\":\"contract IFluidReserveContract\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TEAM_MULTISIG\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"rebalancer_\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isRebalancer_\",\"type\":\"bool\"}],\"name\":\"updateRebalancer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/reserve/auth/main.sol\":\"FluidReserveContractAuthHandler\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":10000000},\"remappings\":[]},\"sources\":{\"contracts/reserve/auth/main.sol\":{\"content\":\"// SPDX-License-Identifier: BUSL-1.1\\npragma solidity 0.8.21;\\n\\ninterface IFluidReserveContract {\\n function updateRebalancer(address rebalancer_, bool isRebalancer_) external;\\n}\\n\\ncontract FluidReserveContractAuthHandler {\\n event LogUpdateRebalancer(address indexed rebalancer, bool isRebalancer);\\n\\n IFluidReserveContract public constant RESERVE = IFluidReserveContract(0x264786EF916af64a1DB19F513F24a3681734ce92);\\n address public constant TEAM_MULTISIG = 0x4F6F977aCDD1177DCD81aB83074855EcB9C2D49e;\\n\\n function updateRebalancer(address rebalancer_, bool isRebalancer_) external {\\n require(msg.sender == TEAM_MULTISIG, \\\"not-team-multisig\\\");\\n RESERVE.updateRebalancer(rebalancer_, isRebalancer_);\\n\\n emit LogUpdateRebalancer(rebalancer_, isRebalancer_);\\n }\\n}\\n\",\"keccak256\":\"0x21959fd8efcfb7133f16391b08c48a8568675136e4aec3f432aaf95068d54c21\",\"license\":\"BUSL-1.1\"}},\"version\":1}",
|
||
|
"bytecode": "0x608060405234801561001057600080fd5b506102b9806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80630de30836146100465780639d2cc4361461005b578063b788f3a11461009f575b600080fd5b61005961005436600461022c565b6100ba565b005b61007673264786ef916af64a1db19f513f24a3681734ce9281565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b610076734f6f977acdd1177dcd81ab83074855ecb9c2d49e81565b33734f6f977acdd1177dcd81ab83074855ecb9c2d49e1461013b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f6e6f742d7465616d2d6d756c7469736967000000000000000000000000000000604482015260640160405180910390fd5b6040517f0de3083600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152811515602482015273264786ef916af64a1db19f513f24a3681734ce9290630de3083690604401600060405180830381600087803b1580156101be57600080fd5b505af11580156101d2573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff167fad476fc62f6b1b5d25b35bd756cfbfcd299b581b8dfb25d5492c4305a0969bd282604051610220911515815260200190565b60405180910390a25050565b6000806040838503121561023f57600080fd5b823573ffffffffffffffffffffffffffffffffffffffff8116811461026357600080fd5b91506020830135801515811461027857600080fd5b80915050925092905056fea264697066735822122012174f8df71f89a2e671d3e04d06bd2600fa89645b124c596fcb978ab53841f564736f6c63430008150033",
|
||
|
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80630de30836146100465780639d2cc4361461005b578063b788f3a11461009f575b600080fd5b61005961005436600461022c565b6100ba565b005b61007673264786ef916af64a1db19f513f24a3681734ce9281565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b610076734f6f977acdd1177dcd81ab83074855ecb9c2d49e81565b33734f6f977acdd1177dcd81ab83074855ecb9c2d49e1461013b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f6e6f742d7465616d2d6d756c7469736967000000000000000000000000000000604482015260640160405180910390fd5b6040517f0de3083600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83166004820152811515602482015273264786ef916af64a1db19f513f24a3681734ce9290630de3083690604401600060405180830381600087803b1580156101be57600080fd5b505af11580156101d2573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff167fad476fc62f6b1b5d25b35bd756cfbfcd299b581b8dfb25d5492c4305a0969bd282604051610220911515815260200190565b60405180910390a25050565b6000806040838503121561023f57600080fd5b823573ffffffffffffffffffffffffffffffffffffffff8116811461026357600080fd5b91506020830135801515811461027857600080fd5b80915050925092905056fea264697066735822122012174f8df71f89a2e671d3e04d06bd2600fa89645b124c596fcb978ab53841f564736f6c63430008150033",
|
||
|
"devdoc": {
|
||
|
"kind": "dev",
|
||
|
"methods": {},
|
||
|
"version": 1
|
||
|
},
|
||
|
"userdoc": {
|
||
|
"kind": "user",
|
||
|
"methods": {},
|
||
|
"version": 1
|
||
|
},
|
||
|
"storageLayout": {
|
||
|
"storage": [],
|
||
|
"types": null
|
||
|
}
|
||
|
}
|