@nexusmutual/deployments
Version:
Nexus Mutual deployed contract addresses and abis
906 lines • 17.1 kB
JSON
[
{
"inputs": [
{
"internalType": "uint16",
"name": "_coverPeriod",
"type": "uint16"
},
{
"internalType": "uint256",
"name": "_sumAssured",
"type": "uint256"
},
{
"internalType": "address payable",
"name": "_userAddress",
"type": "address"
},
{
"internalType": "bytes4",
"name": "_currencyCode",
"type": "bytes4"
},
{
"internalType": "address",
"name": "_scAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "premium",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "premiumNXM",
"type": "uint256"
}
],
"name": "addCover",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "scAddress",
"type": "address"
},
{
"internalType": "bytes4",
"name": "coverCurr",
"type": "bytes4"
},
{
"internalType": "uint256[]",
"name": "coverDetails",
"type": "uint256[]"
},
{
"internalType": "uint16",
"name": "coverPeriod",
"type": "uint16"
}
],
"name": "addHoldCover",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "_curr",
"type": "bytes4"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "addInTotalSumAssured",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
},
{
"internalType": "bytes4",
"name": "_curr",
"type": "bytes4"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "addInTotalSumAssuredSC",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "authQuoteEngine",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
}
],
"name": "changeAuthQuoteEngine",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_cid",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "_stat",
"type": "uint8"
}
],
"name": "changeCoverStatusNo",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
}
],
"name": "getAllCoversOfUser",
"outputs": [
{
"internalType": "uint256[]",
"name": "allCover",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getAuthQuoteEngine",
"outputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_cid",
"type": "uint256"
}
],
"name": "getCoverDetailsByCoverID1",
"outputs": [
{
"internalType": "uint256",
"name": "cid",
"type": "uint256"
},
{
"internalType": "address",
"name": "_memberAddress",
"type": "address"
},
{
"internalType": "address",
"name": "_scAddress",
"type": "address"
},
{
"internalType": "bytes4",
"name": "_currencyCode",
"type": "bytes4"
},
{
"internalType": "uint256",
"name": "_sumAssured",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "premiumNXM",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_cid",
"type": "uint256"
}
],
"name": "getCoverDetailsByCoverID2",
"outputs": [
{
"internalType": "uint256",
"name": "cid",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "status",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "sumAssured",
"type": "uint256"
},
{
"internalType": "uint16",
"name": "coverPeriod",
"type": "uint16"
},
{
"internalType": "uint256",
"name": "validUntil",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getCoverLength",
"outputs": [
{
"internalType": "uint256",
"name": "len",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_cid",
"type": "uint256"
}
],
"name": "getCoverMemberAddress",
"outputs": [
{
"internalType": "address payable",
"name": "_add",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_cid",
"type": "uint256"
}
],
"name": "getCoverPeriod",
"outputs": [
{
"internalType": "uint32",
"name": "cp",
"type": "uint32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_cid",
"type": "uint256"
}
],
"name": "getCoverPremiumNXM",
"outputs": [
{
"internalType": "uint256",
"name": "_premiumNXM",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_cid",
"type": "uint256"
}
],
"name": "getCoverStatusNo",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_cid",
"type": "uint256"
}
],
"name": "getCoverSumAssured",
"outputs": [
{
"internalType": "uint256",
"name": "sa",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_cid",
"type": "uint256"
}
],
"name": "getCurrencyOfCover",
"outputs": [
{
"internalType": "bytes4",
"name": "curr",
"type": "bytes4"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_hcid",
"type": "uint256"
}
],
"name": "getHoldedCoverDetailsByID1",
"outputs": [
{
"internalType": "uint256",
"name": "hcid",
"type": "uint256"
},
{
"internalType": "address",
"name": "scAddress",
"type": "address"
},
{
"internalType": "bytes4",
"name": "coverCurr",
"type": "bytes4"
},
{
"internalType": "uint16",
"name": "coverPeriod",
"type": "uint16"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_hcid",
"type": "uint256"
}
],
"name": "getHoldedCoverDetailsByID2",
"outputs": [
{
"internalType": "uint256",
"name": "hcid",
"type": "uint256"
},
{
"internalType": "address payable",
"name": "memberAddress",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "coverDetails",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getProductDetails",
"outputs": [
{
"internalType": "uint256",
"name": "_minDays",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_pm",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_stl",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_stlp",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "_curr",
"type": "bytes4"
}
],
"name": "getTotalSumAssured",
"outputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
},
{
"internalType": "bytes4",
"name": "_curr",
"type": "bytes4"
}
],
"name": "getTotalSumAssuredSC",
"outputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes8",
"name": "code",
"type": "bytes8"
}
],
"name": "getUintParameters",
"outputs": [
{
"internalType": "bytes8",
"name": "codeVal",
"type": "bytes8"
},
{
"internalType": "uint256",
"name": "val",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
}
],
"name": "getUserCoverLength",
"outputs": [
{
"internalType": "uint256",
"name": "len",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
},
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "getUserHoldedCoverByIndex",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
}
],
"name": "getUserHoldedCoverLength",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_cid",
"type": "uint256"
}
],
"name": "getValidityOfCover",
"outputs": [
{
"internalType": "uint256",
"name": "date",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_cid",
"type": "uint256"
}
],
"name": "getscAddressOfCover",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "holdedCoverIDStatus",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "kycAuthAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "minDays",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "pm",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "refundEligible",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "holdedCoverID",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "status",
"type": "uint256"
}
],
"name": "setHoldedCoverIDStatus",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
}
],
"name": "setKycAuthAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
},
{
"internalType": "bool",
"name": "status",
"type": "bool"
}
],
"name": "setRefundEligible",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_timestamp",
"type": "uint256"
}
],
"name": "setTimestampRepeated",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "stl",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "stlp",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "_curr",
"type": "bytes4"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "subFromTotalSumAssured",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_add",
"type": "address"
},
{
"internalType": "bytes4",
"name": "_curr",
"type": "bytes4"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "subFromTotalSumAssuredSC",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "timestampRepeated",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "tokensRetained",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]