UNPKG

@chainlink/contracts

Version:

Chainlink smart contracts

1,665 lines (1,664 loc) 36.5 kB
[ { "inputs": [ { "internalType": "address", "name": "router", "type": "address" }, { "components": [ { "internalType": "uint32", "name": "fulfillmentGasPriceOverEstimationBP", "type": "uint32" }, { "internalType": "uint32", "name": "feedStalenessSeconds", "type": "uint32" }, { "internalType": "uint32", "name": "gasOverheadBeforeCallback", "type": "uint32" }, { "internalType": "uint32", "name": "gasOverheadAfterCallback", "type": "uint32" }, { "internalType": "uint40", "name": "minimumEstimateGasPriceWei", "type": "uint40" }, { "internalType": "uint16", "name": "maxSupportedRequestDataVersion", "type": "uint16" }, { "internalType": "uint64", "name": "fallbackUsdPerUnitLink", "type": "uint64" }, { "internalType": "uint8", "name": "fallbackUsdPerUnitLinkDecimals", "type": "uint8" }, { "internalType": "uint224", "name": "fallbackNativePerUnitLink", "type": "uint224" }, { "internalType": "uint32", "name": "requestTimeoutSeconds", "type": "uint32" }, { "internalType": "uint16", "name": "donFeeCentsUsd", "type": "uint16" }, { "internalType": "uint16", "name": "operationFeeCentsUsd", "type": "uint16" }, { "internalType": "uint16", "name": "transmitTxSizeBytes", "type": "uint16" } ], "internalType": "struct FunctionsBillingConfig", "name": "config", "type": "tuple" }, { "internalType": "address", "name": "linkToNativeFeed", "type": "address" }, { "internalType": "address", "name": "linkToUsdFeed", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "EmptyPublicKey", "type": "error" }, { "inputs": [], "name": "InconsistentReportData", "type": "error" }, { "inputs": [], "name": "InsufficientBalance", "type": "error" }, { "inputs": [], "name": "InvalidCalldata", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "message", "type": "string" } ], "name": "InvalidConfig", "type": "error" }, { "inputs": [ { "internalType": "int256", "name": "linkWei", "type": "int256" } ], "name": "InvalidLinkWeiPrice", "type": "error" }, { "inputs": [], "name": "InvalidSubscription", "type": "error" }, { "inputs": [ { "internalType": "int256", "name": "usdLink", "type": "int256" } ], "name": "InvalidUsdLinkPrice", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "MustBeSubOwner", "type": "error" }, { "inputs": [], "name": "NoTransmittersSet", "type": "error" }, { "inputs": [], "name": "OnlyCallableByRouter", "type": "error" }, { "inputs": [], "name": "OnlyCallableByRouterOwner", "type": "error" }, { "inputs": [], "name": "PaymentTooLarge", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "message", "type": "string" } ], "name": "ReportInvalid", "type": "error" }, { "inputs": [], "name": "RouterMustBeSet", "type": "error" }, { "inputs": [], "name": "UnauthorizedPublicKeyChange", "type": "error" }, { "inputs": [], "name": "UnauthorizedSender", "type": "error" }, { "inputs": [], "name": "UnsupportedRequestDataVersion", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "requestId", "type": "bytes32" } ], "name": "CommitmentDeleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint32", "name": "previousConfigBlockNumber", "type": "uint32" }, { "indexed": false, "internalType": "bytes32", "name": "configDigest", "type": "bytes32" }, { "indexed": false, "internalType": "uint64", "name": "configCount", "type": "uint64" }, { "indexed": false, "internalType": "address[]", "name": "signers", "type": "address[]" }, { "indexed": false, "internalType": "address[]", "name": "transmitters", "type": "address[]" }, { "indexed": false, "internalType": "uint8", "name": "f", "type": "uint8" }, { "indexed": false, "internalType": "bytes", "name": "onchainConfig", "type": "bytes" }, { "indexed": false, "internalType": "uint64", "name": "offchainConfigVersion", "type": "uint64" }, { "indexed": false, "internalType": "bytes", "name": "offchainConfig", "type": "bytes" } ], "name": "ConfigSet", "type": "event" }, { "anonymous": false, "inputs": [ { "components": [ { "internalType": "uint32", "name": "fulfillmentGasPriceOverEstimationBP", "type": "uint32" }, { "internalType": "uint32", "name": "feedStalenessSeconds", "type": "uint32" }, { "internalType": "uint32", "name": "gasOverheadBeforeCallback", "type": "uint32" }, { "internalType": "uint32", "name": "gasOverheadAfterCallback", "type": "uint32" }, { "internalType": "uint40", "name": "minimumEstimateGasPriceWei", "type": "uint40" }, { "internalType": "uint16", "name": "maxSupportedRequestDataVersion", "type": "uint16" }, { "internalType": "uint64", "name": "fallbackUsdPerUnitLink", "type": "uint64" }, { "internalType": "uint8", "name": "fallbackUsdPerUnitLinkDecimals", "type": "uint8" }, { "internalType": "uint224", "name": "fallbackNativePerUnitLink", "type": "uint224" }, { "internalType": "uint32", "name": "requestTimeoutSeconds", "type": "uint32" }, { "internalType": "uint16", "name": "donFeeCentsUsd", "type": "uint16" }, { "internalType": "uint16", "name": "operationFeeCentsUsd", "type": "uint16" }, { "internalType": "uint16", "name": "transmitTxSizeBytes", "type": "uint16" } ], "indexed": false, "internalType": "struct FunctionsBillingConfig", "name": "config", "type": "tuple" } ], "name": "ConfigUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "requestId", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "requestingContract", "type": "address" }, { "indexed": false, "internalType": "address", "name": "requestInitiator", "type": "address" }, { "indexed": false, "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "indexed": false, "internalType": "address", "name": "subscriptionOwner", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "data", "type": "bytes" }, { "indexed": false, "internalType": "uint16", "name": "dataVersion", "type": "uint16" }, { "indexed": false, "internalType": "bytes32", "name": "flags", "type": "bytes32" }, { "indexed": false, "internalType": "uint64", "name": "callbackGasLimit", "type": "uint64" }, { "components": [ { "internalType": "bytes32", "name": "requestId", "type": "bytes32" }, { "internalType": "address", "name": "coordinator", "type": "address" }, { "internalType": "uint96", "name": "estimatedTotalCostJuels", "type": "uint96" }, { "internalType": "address", "name": "client", "type": "address" }, { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "uint32", "name": "callbackGasLimit", "type": "uint32" }, { "internalType": "uint72", "name": "adminFee", "type": "uint72" }, { "internalType": "uint72", "name": "donFee", "type": "uint72" }, { "internalType": "uint40", "name": "gasOverheadBeforeCallback", "type": "uint40" }, { "internalType": "uint40", "name": "gasOverheadAfterCallback", "type": "uint40" }, { "internalType": "uint32", "name": "timeoutTimestamp", "type": "uint32" } ], "indexed": false, "internalType": "struct FunctionsResponse.Commitment", "name": "commitment", "type": "tuple" } ], "name": "OracleRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "requestId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "transmitter", "type": "address" } ], "name": "OracleResponse", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" } ], "name": "OwnershipTransferRequested", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "requestId", "type": "bytes32" }, { "indexed": false, "internalType": "uint96", "name": "juelsPerGas", "type": "uint96" }, { "indexed": false, "internalType": "uint256", "name": "l1FeeShareWei", "type": "uint256" }, { "indexed": false, "internalType": "uint96", "name": "callbackCostJuels", "type": "uint96" }, { "indexed": false, "internalType": "uint72", "name": "donFeeJuels", "type": "uint72" }, { "indexed": false, "internalType": "uint72", "name": "adminFeeJuels", "type": "uint72" }, { "indexed": false, "internalType": "uint72", "name": "operationFeeJuels", "type": "uint72" } ], "name": "RequestBilled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "configDigest", "type": "bytes32" }, { "indexed": false, "internalType": "uint32", "name": "epoch", "type": "uint32" } ], "name": "Transmitted", "type": "event" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint8", "name": "_f", "type": "uint8" }, { "internalType": "bytes", "name": "_onchainConfig", "type": "bytes" } ], "name": "beforeSetConfig_HARNESS", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "callbackGasLimit", "type": "uint32" }, { "internalType": "uint256", "name": "gasPriceWei", "type": "uint256" }, { "internalType": "uint72", "name": "donFee", "type": "uint72" }, { "internalType": "uint72", "name": "adminFee", "type": "uint72" }, { "internalType": "uint72", "name": "operationFee", "type": "uint72" } ], "name": "calculateCostEstimate_HARNESS", "outputs": [ { "internalType": "uint96", "name": "", "type": "uint96" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "requestId", "type": "bytes32" } ], "name": "deleteCommitment", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "disperseFeePool_HARNESS", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "uint32", "name": "callbackGasLimit", "type": "uint32" }, { "internalType": "uint256", "name": "gasPriceWei", "type": "uint256" } ], "name": "estimateCost", "outputs": [ { "internalType": "uint96", "name": "", "type": "uint96" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "requestId", "type": "bytes32" }, { "internalType": "bytes", "name": "response", "type": "bytes" }, { "internalType": "bytes", "name": "err", "type": "bytes" }, { "internalType": "bytes", "name": "onchainMetadata", "type": "bytes" }, { "internalType": "bytes", "name": "offchainMetadata", "type": "bytes" }, { "internalType": "uint8", "name": "reportBatchSize", "type": "uint8" } ], "name": "fulfillAndBill_HARNESS", "outputs": [ { "internalType": "enum FunctionsResponse.FulfillResult", "name": "", "type": "uint8" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getAdminFeeJuels", "outputs": [ { "internalType": "uint72", "name": "", "type": "uint72" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getConfig", "outputs": [ { "components": [ { "internalType": "uint32", "name": "fulfillmentGasPriceOverEstimationBP", "type": "uint32" }, { "internalType": "uint32", "name": "feedStalenessSeconds", "type": "uint32" }, { "internalType": "uint32", "name": "gasOverheadBeforeCallback", "type": "uint32" }, { "internalType": "uint32", "name": "gasOverheadAfterCallback", "type": "uint32" }, { "internalType": "uint40", "name": "minimumEstimateGasPriceWei", "type": "uint40" }, { "internalType": "uint16", "name": "maxSupportedRequestDataVersion", "type": "uint16" }, { "internalType": "uint64", "name": "fallbackUsdPerUnitLink", "type": "uint64" }, { "internalType": "uint8", "name": "fallbackUsdPerUnitLinkDecimals", "type": "uint8" }, { "internalType": "uint224", "name": "fallbackNativePerUnitLink", "type": "uint224" }, { "internalType": "uint32", "name": "requestTimeoutSeconds", "type": "uint32" }, { "internalType": "uint16", "name": "donFeeCentsUsd", "type": "uint16" }, { "internalType": "uint16", "name": "operationFeeCentsUsd", "type": "uint16" }, { "internalType": "uint16", "name": "transmitTxSizeBytes", "type": "uint16" } ], "internalType": "struct FunctionsBillingConfig", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "getDONFeeJuels", "outputs": [ { "internalType": "uint72", "name": "", "type": "uint72" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getDONPublicKey", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLinkToNativeFeed_HARNESS", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLinkToUsdFeed_HARNESS", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getOperationFeeJuels", "outputs": [ { "internalType": "uint72", "name": "", "type": "uint72" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getRouter_HARNESS", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getThresholdPublicKey", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTransmitters_HARNESS", "outputs": [ { "internalType": "address[]", "name": "", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getUsdPerUnitLink", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWeiPerUnitLink", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "node", "type": "address" } ], "name": "isTransmitter_HARNESS", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestConfigDetails", "outputs": [ { "internalType": "uint32", "name": "configCount", "type": "uint32" }, { "internalType": "uint32", "name": "blockNumber", "type": "uint32" }, { "internalType": "bytes32", "name": "configDigest", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestConfigDigestAndEpoch", "outputs": [ { "internalType": "bool", "name": "scanLogs", "type": "bool" }, { "internalType": "bytes32", "name": "configDigest", "type": "bytes32" }, { "internalType": "uint32", "name": "epoch", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "onlyOwner_HARNESS", "outputs": [], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint96", "name": "amount", "type": "uint96" } ], "name": "oracleWithdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "oracleWithdrawAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner_HARNESS", "outputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes32[]", "name": "requestIds", "type": "bytes32[]" }, { "internalType": "bytes[]", "name": "results", "type": "bytes[]" }, { "internalType": "bytes[]", "name": "errors", "type": "bytes[]" }, { "internalType": "bytes[]", "name": "onchainMetadata", "type": "bytes[]" }, { "internalType": "bytes[]", "name": "offchainMetadata", "type": "bytes[]" } ], "internalType": "struct OCR2Base.DecodedReport", "name": "decodedReport", "type": "tuple" } ], "name": "report_HARNESS", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "_signers", "type": "address[]" }, { "internalType": "address[]", "name": "_transmitters", "type": "address[]" }, { "internalType": "uint8", "name": "_f", "type": "uint8" }, { "internalType": "bytes", "name": "_onchainConfig", "type": "bytes" }, { "internalType": "uint64", "name": "_offchainConfigVersion", "type": "uint64" }, { "internalType": "bytes", "name": "_offchainConfig", "type": "bytes" } ], "name": "setConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "donPublicKey", "type": "bytes" } ], "name": "setDONPublicKey", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "thresholdPublicKey", "type": "bytes" } ], "name": "setThresholdPublicKey", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes32", "name": "flags", "type": "bytes32" }, { "internalType": "address", "name": "requestingContract", "type": "address" }, { "internalType": "uint96", "name": "availableBalance", "type": "uint96" }, { "internalType": "uint72", "name": "adminFee", "type": "uint72" }, { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "uint64", "name": "initiatedRequests", "type": "uint64" }, { "internalType": "uint32", "name": "callbackGasLimit", "type": "uint32" }, { "internalType": "uint16", "name": "dataVersion", "type": "uint16" }, { "internalType": "uint64", "name": "completedRequests", "type": "uint64" }, { "internalType": "address", "name": "subscriptionOwner", "type": "address" } ], "internalType": "struct FunctionsResponse.RequestMeta", "name": "request", "type": "tuple" } ], "name": "startBilling_HARNESS", "outputs": [ { "components": [ { "internalType": "bytes32", "name": "requestId", "type": "bytes32" }, { "internalType": "address", "name": "coordinator", "type": "address" }, { "internalType": "uint96", "name": "estimatedTotalCostJuels", "type": "uint96" }, { "internalType": "address", "name": "client", "type": "address" }, { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "uint32", "name": "callbackGasLimit", "type": "uint32" }, { "internalType": "uint72", "name": "adminFee", "type": "uint72" }, { "internalType": "uint72", "name": "donFee", "type": "uint72" }, { "internalType": "uint40", "name": "gasOverheadBeforeCallback", "type": "uint40" }, { "internalType": "uint40", "name": "gasOverheadAfterCallback", "type": "uint40" }, { "internalType": "uint32", "name": "timeoutTimestamp", "type": "uint32" } ], "internalType": "struct FunctionsResponse.Commitment", "name": "commitment", "type": "tuple" }, { "internalType": "uint72", "name": "operationFee", "type": "uint72" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes32", "name": "flags", "type": "bytes32" }, { "internalType": "address", "name": "requestingContract", "type": "address" }, { "internalType": "uint96", "name": "availableBalance", "type": "uint96" }, { "internalType": "uint72", "name": "adminFee", "type": "uint72" }, { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "uint64", "name": "initiatedRequests", "type": "uint64" }, { "internalType": "uint32", "name": "callbackGasLimit", "type": "uint32" }, { "internalType": "uint16", "name": "dataVersion", "type": "uint16" }, { "internalType": "uint64", "name": "completedRequests", "type": "uint64" }, { "internalType": "address", "name": "subscriptionOwner", "type": "address" } ], "internalType": "struct FunctionsResponse.RequestMeta", "name": "request", "type": "tuple" } ], "name": "startRequest", "outputs": [ { "components": [ { "internalType": "bytes32", "name": "requestId", "type": "bytes32" }, { "internalType": "address", "name": "coordinator", "type": "address" }, { "internalType": "uint96", "name": "estimatedTotalCostJuels", "type": "uint96" }, { "internalType": "address", "name": "client", "type": "address" }, { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "uint32", "name": "callbackGasLimit", "type": "uint32" }, { "internalType": "uint72", "name": "adminFee", "type": "uint72" }, { "internalType": "uint72", "name": "donFee", "type": "uint72" }, { "internalType": "uint40", "name": "gasOverheadBeforeCallback", "type": "uint40" }, { "internalType": "uint40", "name": "gasOverheadAfterCallback", "type": "uint40" }, { "internalType": "uint32", "name": "timeoutTimestamp", "type": "uint32" } ], "internalType": "struct FunctionsResponse.Commitment", "name": "commitment", "type": "tuple" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32[3]", "name": "reportContext", "type": "bytes32[3]" }, { "internalType": "bytes", "name": "report", "type": "bytes" }, { "internalType": "bytes32[]", "name": "rs", "type": "bytes32[]" }, { "internalType": "bytes32[]", "name": "ss", "type": "bytes32[]" }, { "internalType": "bytes32", "name": "rawVs", "type": "bytes32" } ], "name": "transmit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "transmitters", "outputs": [ { "internalType": "address[]", "name": "", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "typeAndVersion", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint32", "name": "fulfillmentGasPriceOverEstimationBP", "type": "uint32" }, { "internalType": "uint32", "name": "feedStalenessSeconds", "type": "uint32" }, { "internalType": "uint32", "name": "gasOverheadBeforeCallback", "type": "uint32" }, { "internalType": "uint32", "name": "gasOverheadAfterCallback", "type": "uint32" }, { "internalType": "uint40", "name": "minimumEstimateGasPriceWei", "type": "uint40" }, { "internalType": "uint16", "name": "maxSupportedRequestDataVersion", "type": "uint16" }, { "internalType": "uint64", "name": "fallbackUsdPerUnitLink", "type": "uint64" }, { "internalType": "uint8", "name": "fallbackUsdPerUnitLinkDecimals", "type": "uint8" }, { "internalType": "uint224", "name": "fallbackNativePerUnitLink", "type": "uint224" }, { "internalType": "uint32", "name": "requestTimeoutSeconds", "type": "uint32" }, { "internalType": "uint16", "name": "donFeeCentsUsd", "type": "uint16" }, { "internalType": "uint16", "name": "operationFeeCentsUsd", "type": "uint16" }, { "internalType": "uint16", "name": "transmitTxSizeBytes", "type": "uint16" } ], "internalType": "struct FunctionsBillingConfig", "name": "config", "type": "tuple" } ], "name": "updateConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]