UNPKG

@chainlink/contracts

Version:

Chainlink smart contracts

182 lines (181 loc) 3.47 kB
[ { "inputs": [ { "internalType": "uint32", "name": "_callbackGasLimit", "type": "uint32" }, { "internalType": "uint32", "name": "_numWords", "type": "uint32" } ], "name": "calculateRequestPrice", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "_callbackGasLimit", "type": "uint32" }, { "internalType": "uint32", "name": "_numWords", "type": "uint32" } ], "name": "calculateRequestPriceNative", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "_callbackGasLimit", "type": "uint32" }, { "internalType": "uint32", "name": "_numWords", "type": "uint32" }, { "internalType": "uint256", "name": "_requestGasPriceWei", "type": "uint256" } ], "name": "estimateRequestPrice", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "_callbackGasLimit", "type": "uint32" }, { "internalType": "uint32", "name": "_numWords", "type": "uint32" }, { "internalType": "uint256", "name": "_requestGasPriceWei", "type": "uint256" } ], "name": "estimateRequestPriceNative", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lastRequestId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "link", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "linkNativeFeed", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "_callbackGasLimit", "type": "uint32" }, { "internalType": "uint16", "name": "_requestConfirmations", "type": "uint16" }, { "internalType": "uint32", "name": "_numWords", "type": "uint32" }, { "internalType": "bytes", "name": "extraArgs", "type": "bytes" } ], "name": "requestRandomWordsInNative", "outputs": [ { "internalType": "uint256", "name": "requestId", "type": "uint256" } ], "stateMutability": "payable", "type": "function" } ]