UNPKG

@electra.finance/contracts

Version:
186 lines 2.72 kB
/** Generated with `./json-d-ts.sh` */ /* eslint-disable */ declare const data: [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [ { "internalType": "address[]", "name": "priceProviders", "type": "address[]" } ], "name": "changePriceProviderAuthorization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "getPrice", "outputs": [ { "internalType": "uint80", "name": "price", "type": "uint80" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "length", "type": "uint256" } ], "name": "getPrices", "outputs": [ { "internalType": "uint80[]", "name": "res", "type": "uint80[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "priceProviderAuthorization", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "uint80", "name": "price", "type": "uint80" } ], "name": "setPrice", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32[]", "name": "prices", "type": "bytes32[]" } ], "name": "setPrices", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256[]", "name": "indexes", "type": "uint256[]" }, { "internalType": "uint80[]", "name": "prices_", "type": "uint80[]" }, { "internalType": "address", "name": "cfd", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "setPricesWithCallBack", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ] export = data