UNPKG

@benddao/bend-downpayment

Version:

BendDAO downpayment smart contracts

151 lines (150 loc) 2.8 kB
[ { "inputs": [ { "internalType": "address", "name": "_nftContract", "type": "address" } ], "name": "getAssetPrice", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_nftContract", "type": "address" } ], "name": "getLatestTimestamp", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_nftContract", "type": "address" }, { "internalType": "uint256", "name": "_numOfRoundBack", "type": "uint256" } ], "name": "getPreviousPrice", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_nftContract", "type": "address" }, { "internalType": "uint256", "name": "_numOfRoundBack", "type": "uint256" } ], "name": "getPreviousTimestamp", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "priceFeedAdmin", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_nftContract", "type": "address" }, { "internalType": "uint256", "name": "_price", "type": "uint256" } ], "name": "setAssetData", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_nftContract", "type": "address" }, { "internalType": "bool", "name": "val", "type": "bool" } ], "name": "setPause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_twapInterval", "type": "uint256" } ], "name": "setTwapInterval", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]