-
Notifications
You must be signed in to change notification settings - Fork 0
/
cog_factory.json
1 lines (1 loc) · 5.44 KB
/
cog_factory.json
1
[{"name": "OwnershipTransferStarted", "inputs": [{"name": "previous_owner", "type": "address", "indexed": true}, {"name": "new_owner", "type": "address", "indexed": true}], "anonymous": false, "type": "event"}, {"name": "OwnershipTransferred", "inputs": [{"name": "previous_owner", "type": "address", "indexed": true}, {"name": "new_owner", "type": "address", "indexed": true}], "anonymous": false, "type": "event"}, {"name": "StablePairCreated", "inputs": [{"name": "asset", "type": "address", "indexed": true}, {"name": "collateral", "type": "address", "indexed": true}, {"name": "pair", "type": "address", "indexed": true}], "anonymous": false, "type": "event"}, {"name": "LowPairCreated", "inputs": [{"name": "asset", "type": "address", "indexed": true}, {"name": "collateral", "type": "address", "indexed": true}, {"name": "pair", "type": "address", "indexed": true}], "anonymous": false, "type": "event"}, {"name": "MediumPairCreated", "inputs": [{"name": "asset", "type": "address", "indexed": true}, {"name": "collateral", "type": "address", "indexed": true}, {"name": "pair", "type": "address", "indexed": true}], "anonymous": false, "type": "event"}, {"name": "HighPairCreated", "inputs": [{"name": "asset", "type": "address", "indexed": true}, {"name": "collateral", "type": "address", "indexed": true}, {"name": "pair", "type": "address", "indexed": true}], "anonymous": false, "type": "event"}, {"name": "CustomPairCreated", "inputs": [{"name": "blueprint", "type": "address", "indexed": true}, {"name": "pair", "type": "address", "indexed": true}, {"name": "asset", "type": "address", "indexed": false}, {"name": "collateral", "type": "address", "indexed": false}], "anonymous": false, "type": "event"}, {"stateMutability": "nonpayable", "type": "function", "name": "transfer_ownership", "inputs": [{"name": "new_owner", "type": "address"}], "outputs": []}, {"stateMutability": "nonpayable", "type": "function", "name": "accept_ownership", "inputs": [], "outputs": []}, {"stateMutability": "nonpayable", "type": "function", "name": "renounce_ownership", "inputs": [], "outputs": []}, {"stateMutability": "nonpayable", "type": "function", "name": "set_priv_user_status", "inputs": [{"name": "user", "type": "address"}, {"name": "status", "type": "bool"}], "outputs": []}, {"stateMutability": "nonpayable", "type": "function", "name": "update_borrow_fee", "inputs": [{"name": "pair", "type": "address"}, {"name": "newFee", "type": "uint256"}], "outputs": []}, {"stateMutability": "nonpayable", "type": "function", "name": "update_default_protocol_fee", "inputs": [{"name": "pair", "type": "address"}, {"name": "newFee", "type": "uint256"}], "outputs": []}, {"stateMutability": "nonpayable", "type": "function", "name": "change_fee_to", "inputs": [{"name": "new_recipient", "type": "address"}], "outputs": []}, {"stateMutability": "nonpayable", "type": "function", "name": "pause", "inputs": [{"name": "pair", "type": "address"}], "outputs": []}, {"stateMutability": "nonpayable", "type": "function", "name": "unpause", "inputs": [{"name": "pair", "type": "address"}], "outputs": []}, {"stateMutability": "nonpayable", "type": "constructor", "inputs": [{"name": "_blueprint", "type": "address"}, {"name": "_fee_to", "type": "address"}], "outputs": []}, {"stateMutability": "nonpayable", "type": "function", "name": "deploy_stable_risk_pair", "inputs": [{"name": "asset", "type": "address"}, {"name": "collateral", "type": "address"}, {"name": "oracle", "type": "address"}], "outputs": [{"name": "", "type": "address"}]}, {"stateMutability": "nonpayable", "type": "function", "name": "deploy_low_risk_pair", "inputs": [{"name": "asset", "type": "address"}, {"name": "collateral", "type": "address"}, {"name": "oracle", "type": "address"}], "outputs": [{"name": "", "type": "address"}]}, {"stateMutability": "nonpayable", "type": "function", "name": "deploy_medium_risk_pair", "inputs": [{"name": "asset", "type": "address"}, {"name": "collateral", "type": "address"}, {"name": "oracle", "type": "address"}], "outputs": [{"name": "", "type": "address"}]}, {"stateMutability": "nonpayable", "type": "function", "name": "deploy_high_risk_pair", "inputs": [{"name": "asset", "type": "address"}, {"name": "collateral", "type": "address"}, {"name": "oracle", "type": "address"}], "outputs": [{"name": "", "type": "address"}]}, {"stateMutability": "nonpayable", "type": "function", "name": "deploy_custom_risk_pair", "inputs": [{"name": "asset", "type": "address"}, {"name": "collateral", "type": "address"}, {"name": "oracle", "type": "address"}, {"name": "_blueprint", "type": "address"}, {"name": "code_offset", "type": "uint256"}, {"name": "minimum_target_utilization", "type": "uint256"}, {"name": "maximum_target_utilization", "type": "uint256"}, {"name": "starting_interest_per_second", "type": "uint64"}, {"name": "minimum_interest_per_second", "type": "uint64"}, {"name": "maximum_interest_per_second", "type": "uint64"}, {"name": "elasticity", "type": "uint256"}], "outputs": [{"name": "", "type": "address"}]}, {"stateMutability": "view", "type": "function", "name": "owner", "inputs": [], "outputs": [{"name": "", "type": "address"}]}, {"stateMutability": "view", "type": "function", "name": "pending_owner", "inputs": [], "outputs": [{"name": "", "type": "address"}]}, {"stateMutability": "view", "type": "function", "name": "priv_users", "inputs": [{"name": "arg0", "type": "address"}], "outputs": [{"name": "", "type": "bool"}]}, {"stateMutability": "view", "type": "function", "name": "fee_to", "inputs": [], "outputs": [{"name": "", "type": "address"}]}]