UNPKG

@nexusmutual/deployments

Version:

Nexus Mutual deployed contract addresses and abis

333 lines 6.64 kB
[ { "inputs": [ { "internalType": "address", "name": "_cover", "type": "address" }, { "internalType": "address", "name": "_memberRoles", "type": "address" }, { "internalType": "address", "name": "_nxmToken", "type": "address" }, { "internalType": "address", "name": "_master", "type": "address" }, { "internalType": "address", "name": "_owner", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "InvalidOwnerAddress", "type": "error" }, { "inputs": [], "name": "InvalidPayment", "type": "error" }, { "inputs": [], "name": "InvalidPaymentAsset", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "address", "name": "token", "type": "address" } ], "name": "TransferFailed", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "ZeroBalance", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [], "name": "ETH", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint256", "name": "coverId", "type": "uint256" }, { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint24", "name": "productId", "type": "uint24" }, { "internalType": "uint8", "name": "coverAsset", "type": "uint8" }, { "internalType": "uint96", "name": "amount", "type": "uint96" }, { "internalType": "uint32", "name": "period", "type": "uint32" }, { "internalType": "uint256", "name": "maxPremiumInAsset", "type": "uint256" }, { "internalType": "uint8", "name": "paymentAsset", "type": "uint8" }, { "internalType": "uint16", "name": "commissionRatio", "type": "uint16" }, { "internalType": "address", "name": "commissionDestination", "type": "address" }, { "internalType": "string", "name": "ipfsData", "type": "string" } ], "internalType": "struct BuyCoverParams", "name": "params", "type": "tuple" }, { "components": [ { "internalType": "uint256", "name": "poolId", "type": "uint256" }, { "internalType": "uint256", "name": "coverAmountInAsset", "type": "uint256" } ], "internalType": "struct PoolAllocationRequest[]", "name": "poolAllocationRequests", "type": "tuple[]" } ], "name": "buyCover", "outputs": [ { "internalType": "uint256", "name": "coverId", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "cover", "outputs": [ { "internalType": "contract ICover", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "master", "outputs": [ { "internalType": "contract INXMMaster", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "contract IERC20", "name": "erc20", "type": "address" } ], "name": "maxApproveCoverContract", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "memberRoles", "outputs": [ { "internalType": "contract IMemberRoles", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "nxmToken", "outputs": [ { "internalType": "contract INXMToken", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "assetAddress", "type": "address" } ], "name": "rescueFunds", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newAddress", "type": "address" } ], "name": "switchMembership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]