@defi-wonderland/keep3r-cli-job-maker
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,1 +0,1 @@ | ||
[{ "inputs": [{ "internalType": "address", "name": "_governor", "type": "address" }, { "internalType": "bytes32", "name": "_network", "type": "bytes32" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AvailableCredits", "type": "error" }, { "inputs": [], "name": "CallFailed", "type": "error" }, { "inputs": [], "name": "KeeperNotRegistered", "type": "error" }, { "inputs": [], "name": "KeeperNotValid", "type": "error" }, { "inputs": [], "name": "NoChangeInPause", "type": "error" }, { "inputs": [], "name": "NotValidJob", "type": "error" }, { "inputs": [], "name": "OnlyGovernor", "type": "error" }, { "inputs": [], "name": "OnlyPendingGovernor", "type": "error" }, { "inputs": [], "name": "Paused", "type": "error" }, { "inputs": [], "name": "ZeroAddress", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_newBaseToken", "type": "address" }], "name": "BaseTokenAddressSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "_newBoost", "type": "uint256" }], "name": "BoostSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "_to", "type": "address" }], "name": "DustSent", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_bond", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_minBond", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_earned", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_age", "type": "uint256" }], "name": "Keep3rRequirementsSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_keep3r", "type": "address" }], "name": "Keep3rSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes32", "name": "_newNetwork", "type": "bytes32" }], "name": "NetworkSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bool", "name": "_paused", "type": "bool" }], "name": "PauseSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_newGovernor", "type": "address" }], "name": "PendingGovernorAccepted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_governor", "type": "address" }, { "indexed": false, "internalType": "address", "name": "_pendingGovernor", "type": "address" }], "name": "PendingGovernorSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_newQuoteToken", "type": "address" }], "name": "QuoteTokenAddressSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_newSequencerAddress", "type": "address" }], "name": "SequencerAddressSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_newTokenPaymentAddress", "type": "address" }], "name": "TokenPaymentAddressSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_newTokenWETHPool", "type": "address" }], "name": "TokenWETHPoolAddressSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "_twapTime", "type": "uint256" }], "name": "TwapTimeSet", "type": "event" }, { "inputs": [], "name": "ETH_ADDRESS", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "acceptPendingGovernor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "baseToken", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "boost", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "governor", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "keep3r", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "network", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "paused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingGovernor", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "quoteToken", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "requiredAge", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "requiredBond", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "requiredEarnings", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "requiredMinBond", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "address", "name": "_to", "type": "address" }], "name": "sendDust", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "sequencer", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_baseToken", "type": "address" }], "name": "setBaseToken", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_boost", "type": "uint256" }], "name": "setBoost", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_keep3r", "type": "address" }], "name": "setKeep3r", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_bond", "type": "address" }, { "internalType": "uint256", "name": "_minBond", "type": "uint256" }, { "internalType": "uint256", "name": "_earned", "type": "uint256" }, { "internalType": "uint256", "name": "_age", "type": "uint256" }], "name": "setKeep3rRequirements", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "_network", "type": "bytes32" }], "name": "setNetwork", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "_paused", "type": "bool" }], "name": "setPause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_pendingGovernor", "type": "address" }], "name": "setPendingGovernor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_quoteToken", "type": "address" }], "name": "setQuoteToken", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_sequencer", "type": "address" }], "name": "setSequencerAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_tokenWETHPool", "type": "address" }], "name": "setTokenWETHPool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_twapTime", "type": "uint32" }], "name": "setTwapTime", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "tokenWETHPool", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "twapTime", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_job", "type": "address" }, { "internalType": "bytes", "name": "_data", "type": "bytes" }], "name": "work", "outputs": [], "stateMutability": "nonpayable", "type": "function" }] | ||
[{ "inputs": [{ "internalType": "address", "name": "_governor", "type": "address" }, { "internalType": "bytes32", "name": "_network", "type": "bytes32" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AvailableCredits", "type": "error" }, { "inputs": [], "name": "CallFailed", "type": "error" }, { "inputs": [], "name": "KeeperNotValid", "type": "error" }, { "inputs": [], "name": "NoChangeInPause", "type": "error" }, { "inputs": [], "name": "NotValidJob", "type": "error" }, { "inputs": [], "name": "OnlyGovernor", "type": "error" }, { "inputs": [], "name": "OnlyPendingGovernor", "type": "error" }, { "inputs": [], "name": "Paused", "type": "error" }, { "inputs": [], "name": "ZeroAddress", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "_to", "type": "address" }], "name": "DustSent", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "gasBonus", "type": "uint256" }], "name": "FallbackGasBonusSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "fallbackToken", "type": "address" }], "name": "FallbackTokenAddressSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "fallbackTokenWETHPool", "type": "address" }], "name": "FallbackTokenWETHPoolSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "gasBonus", "type": "uint256" }], "name": "GasBonusSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "gasMaximum", "type": "uint256" }], "name": "GasMaximumSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "initialGas", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "gasAfterWork", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "bonus", "type": "uint256" }], "name": "GasMetered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "gasMultiplier", "type": "uint256" }], "name": "GasMultiplierSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_job", "type": "address" }], "name": "JobWorked", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "keep3rHelper", "type": "address" }], "name": "Keep3rHelperSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_bond", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_minBond", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_earned", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_age", "type": "uint256" }], "name": "Keep3rRequirementsSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_keep3r", "type": "address" }], "name": "Keep3rSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes32", "name": "_newNetwork", "type": "bytes32" }], "name": "NetworkSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bool", "name": "_paused", "type": "bool" }], "name": "PauseSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_newGovernor", "type": "address" }], "name": "PendingGovernorAccepted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_governor", "type": "address" }, { "indexed": false, "internalType": "address", "name": "_pendingGovernor", "type": "address" }], "name": "PendingGovernorSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_newSequencerAddress", "type": "address" }], "name": "SequencerAddressSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "twapTime", "type": "uint256" }], "name": "TwapTimeSet", "type": "event" }, { "inputs": [], "name": "BASE", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "ETH_ADDRESS", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "WETH", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "acceptPendingGovernor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "fallbackGasBonus", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "fallbackToken", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "fallbackTokenWETHPool", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "gasBonus", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "gasMaximum", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "gasMultiplier", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "governor", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "keep3r", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "keep3rHelper", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "network", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "paused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingGovernor", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "requiredAge", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "requiredBond", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "requiredEarnings", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "requiredMinBond", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "address", "name": "_to", "type": "address" }], "name": "sendDust", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "sequencer", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_fallbackGasBonus", "type": "uint256" }], "name": "setFallbackGasBonus", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_fallbackToken", "type": "address" }], "name": "setFallbackToken", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_fallbackTokenWETHPool", "type": "address" }], "name": "setFallbackTokenWETHPool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasBonus", "type": "uint256" }], "name": "setGasBonus", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasMaximum", "type": "uint256" }], "name": "setGasMaximum", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasMultiplier", "type": "uint256" }], "name": "setGasMultiplier", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_keep3r", "type": "address" }], "name": "setKeep3r", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_keep3rHelper", "type": "address" }], "name": "setKeep3rHelper", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_bond", "type": "address" }, { "internalType": "uint256", "name": "_minBond", "type": "uint256" }, { "internalType": "uint256", "name": "_earned", "type": "uint256" }, { "internalType": "uint256", "name": "_age", "type": "uint256" }], "name": "setKeep3rRequirements", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "_network", "type": "bytes32" }], "name": "setNetwork", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "_paused", "type": "bool" }], "name": "setPause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_pendingGovernor", "type": "address" }], "name": "setPendingGovernor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_sequencer", "type": "address" }], "name": "setSequencerAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_twapTime", "type": "uint32" }], "name": "setTwapTime", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "twapTime", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_job", "type": "address" }, { "internalType": "bytes", "name": "_data", "type": "bytes" }], "name": "work", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_job", "type": "address" }, { "internalType": "bytes", "name": "_data", "type": "bytes" }], "name": "workMetered", "outputs": [], "stateMutability": "nonpayable", "type": "function" }] |
@@ -8,3 +8,3 @@ "use strict"; | ||
mainnet: { | ||
job: '0x5D469E1ef75507b0E0439667ae45e280b9D81B9C', | ||
job: '0x28937B751050FcFd47Fd49165C6E1268c296BA19', | ||
sequencer: '0x9566eB72e47E3E20643C0b1dfbEe04Da5c7E4732', | ||
@@ -11,0 +11,0 @@ }, |
@@ -16,3 +16,3 @@ "use strict"; | ||
return { | ||
"job": getContract('0x5D469E1ef75507b0E0439667ae45e280b9D81B9C', job_json_1.default, defaultSigner), | ||
"job": getContract('0x28937B751050FcFd47Fd49165C6E1268c296BA19', job_json_1.default, defaultSigner), | ||
"sequencer": getContract('0x9566eB72e47E3E20643C0b1dfbEe04Da5c7E4732', sequencer_json_1.default, defaultSigner), | ||
@@ -19,0 +19,0 @@ }; |
@@ -37,7 +37,2 @@ "use strict"; | ||
inputs: [], | ||
name: "KeeperNotRegistered", | ||
type: "error", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "KeeperNotValid", | ||
@@ -82,7 +77,19 @@ type: "error", | ||
internalType: "address", | ||
name: "_newBaseToken", | ||
name: "_token", | ||
type: "address", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "_amount", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "address", | ||
name: "_to", | ||
type: "address", | ||
}, | ||
], | ||
name: "BaseTokenAddressSet", | ||
name: "DustSent", | ||
type: "event", | ||
@@ -96,7 +103,7 @@ }, | ||
internalType: "uint256", | ||
name: "_newBoost", | ||
name: "gasBonus", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "BoostSet", | ||
name: "FallbackGasBonusSet", | ||
type: "event", | ||
@@ -110,19 +117,97 @@ }, | ||
internalType: "address", | ||
name: "_token", | ||
name: "fallbackToken", | ||
type: "address", | ||
}, | ||
], | ||
name: "FallbackTokenAddressSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "address", | ||
name: "fallbackTokenWETHPool", | ||
type: "address", | ||
}, | ||
], | ||
name: "FallbackTokenWETHPoolSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "_amount", | ||
name: "gasBonus", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "GasBonusSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "gasMaximum", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "GasMaximumSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "initialGas", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "gasAfterWork", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "bonus", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "GasMetered", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "gasMultiplier", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "GasMultiplierSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "address", | ||
name: "_to", | ||
name: "_job", | ||
type: "address", | ||
}, | ||
], | ||
name: "DustSent", | ||
name: "JobWorked", | ||
type: "event", | ||
@@ -136,2 +221,15 @@ }, | ||
internalType: "address", | ||
name: "keep3rHelper", | ||
type: "address", | ||
}, | ||
], | ||
name: "Keep3rHelperSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "address", | ||
name: "_bond", | ||
@@ -239,7 +337,7 @@ type: "address", | ||
internalType: "address", | ||
name: "_newQuoteToken", | ||
name: "_newSequencerAddress", | ||
type: "address", | ||
}, | ||
], | ||
name: "QuoteTokenAddressSet", | ||
name: "SequencerAddressSet", | ||
type: "event", | ||
@@ -252,52 +350,72 @@ }, | ||
indexed: false, | ||
internalType: "address", | ||
name: "_newSequencerAddress", | ||
type: "address", | ||
internalType: "uint256", | ||
name: "twapTime", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "SequencerAddressSet", | ||
name: "TwapTimeSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
inputs: [], | ||
name: "BASE", | ||
outputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "uint32", | ||
name: "", | ||
type: "uint32", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "ETH_ADDRESS", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
name: "_newTokenPaymentAddress", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
name: "TokenPaymentAddressSet", | ||
type: "event", | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
inputs: [], | ||
name: "WETH", | ||
outputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "address", | ||
name: "_newTokenWETHPool", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
name: "TokenWETHPoolAddressSet", | ||
type: "event", | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
inputs: [], | ||
name: "acceptPendingGovernor", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "fallbackGasBonus", | ||
outputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "_twapTime", | ||
name: "", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "TwapTimeSet", | ||
type: "event", | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "ETH_ADDRESS", | ||
name: "fallbackToken", | ||
outputs: [ | ||
@@ -315,5 +433,11 @@ { | ||
inputs: [], | ||
name: "acceptPendingGovernor", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
name: "fallbackTokenWETHPool", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
@@ -323,8 +447,8 @@ }, | ||
inputs: [], | ||
name: "baseToken", | ||
name: "gasBonus", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
internalType: "uint256", | ||
name: "", | ||
type: "address", | ||
type: "uint256", | ||
}, | ||
@@ -337,3 +461,3 @@ ], | ||
inputs: [], | ||
name: "boost", | ||
name: "gasMaximum", | ||
outputs: [ | ||
@@ -351,2 +475,15 @@ { | ||
inputs: [], | ||
name: "gasMultiplier", | ||
outputs: [ | ||
{ | ||
internalType: "uint256", | ||
name: "", | ||
type: "uint256", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "governor", | ||
@@ -378,8 +515,8 @@ outputs: [ | ||
inputs: [], | ||
name: "network", | ||
name: "keep3rHelper", | ||
outputs: [ | ||
{ | ||
internalType: "bytes32", | ||
internalType: "address", | ||
name: "", | ||
type: "bytes32", | ||
type: "address", | ||
}, | ||
@@ -392,8 +529,8 @@ ], | ||
inputs: [], | ||
name: "paused", | ||
name: "network", | ||
outputs: [ | ||
{ | ||
internalType: "bool", | ||
internalType: "bytes32", | ||
name: "", | ||
type: "bool", | ||
type: "bytes32", | ||
}, | ||
@@ -406,8 +543,8 @@ ], | ||
inputs: [], | ||
name: "pendingGovernor", | ||
name: "paused", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
internalType: "bool", | ||
name: "", | ||
type: "address", | ||
type: "bool", | ||
}, | ||
@@ -420,3 +557,3 @@ ], | ||
inputs: [], | ||
name: "quoteToken", | ||
name: "pendingGovernor", | ||
outputs: [ | ||
@@ -523,8 +660,21 @@ { | ||
{ | ||
internalType: "uint256", | ||
name: "_fallbackGasBonus", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "setFallbackGasBonus", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "_baseToken", | ||
name: "_fallbackToken", | ||
type: "address", | ||
}, | ||
], | ||
name: "setBaseToken", | ||
name: "setFallbackToken", | ||
outputs: [], | ||
@@ -537,8 +687,21 @@ stateMutability: "nonpayable", | ||
{ | ||
internalType: "address", | ||
name: "_fallbackTokenWETHPool", | ||
type: "address", | ||
}, | ||
], | ||
name: "setFallbackTokenWETHPool", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "uint256", | ||
name: "_boost", | ||
name: "_gasBonus", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "setBoost", | ||
name: "setGasBonus", | ||
outputs: [], | ||
@@ -551,2 +714,28 @@ stateMutability: "nonpayable", | ||
{ | ||
internalType: "uint256", | ||
name: "_gasMaximum", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "setGasMaximum", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "uint256", | ||
name: "_gasMultiplier", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "setGasMultiplier", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
@@ -566,2 +755,15 @@ name: "_keep3r", | ||
internalType: "address", | ||
name: "_keep3rHelper", | ||
type: "address", | ||
}, | ||
], | ||
name: "setKeep3rHelper", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "_bond", | ||
@@ -634,15 +836,2 @@ type: "address", | ||
internalType: "address", | ||
name: "_quoteToken", | ||
type: "address", | ||
}, | ||
], | ||
name: "setQuoteToken", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "_sequencer", | ||
@@ -660,15 +849,2 @@ type: "address", | ||
{ | ||
internalType: "address", | ||
name: "_tokenWETHPool", | ||
type: "address", | ||
}, | ||
], | ||
name: "setTokenWETHPool", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "uint32", | ||
@@ -686,8 +862,8 @@ name: "_twapTime", | ||
inputs: [], | ||
name: "tokenWETHPool", | ||
name: "twapTime", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
internalType: "uint32", | ||
name: "", | ||
type: "address", | ||
type: "uint32", | ||
}, | ||
@@ -699,12 +875,17 @@ ], | ||
{ | ||
inputs: [], | ||
name: "twapTime", | ||
outputs: [ | ||
inputs: [ | ||
{ | ||
internalType: "uint32", | ||
name: "", | ||
type: "uint32", | ||
internalType: "address", | ||
name: "_job", | ||
type: "address", | ||
}, | ||
{ | ||
internalType: "bytes", | ||
name: "_data", | ||
type: "bytes", | ||
}, | ||
], | ||
stateMutability: "view", | ||
name: "work", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
@@ -725,3 +906,3 @@ }, | ||
], | ||
name: "work", | ||
name: "workMetered", | ||
outputs: [], | ||
@@ -728,0 +909,0 @@ stateMutability: "nonpayable", |
@@ -7,12 +7,18 @@ import { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; | ||
functions: { | ||
"BASE()": FunctionFragment; | ||
"ETH_ADDRESS()": FunctionFragment; | ||
"WETH()": FunctionFragment; | ||
"acceptPendingGovernor()": FunctionFragment; | ||
"baseToken()": FunctionFragment; | ||
"boost()": FunctionFragment; | ||
"fallbackGasBonus()": FunctionFragment; | ||
"fallbackToken()": FunctionFragment; | ||
"fallbackTokenWETHPool()": FunctionFragment; | ||
"gasBonus()": FunctionFragment; | ||
"gasMaximum()": FunctionFragment; | ||
"gasMultiplier()": FunctionFragment; | ||
"governor()": FunctionFragment; | ||
"keep3r()": FunctionFragment; | ||
"keep3rHelper()": FunctionFragment; | ||
"network()": FunctionFragment; | ||
"paused()": FunctionFragment; | ||
"pendingGovernor()": FunctionFragment; | ||
"quoteToken()": FunctionFragment; | ||
"requiredAge()": FunctionFragment; | ||
@@ -24,5 +30,10 @@ "requiredBond()": FunctionFragment; | ||
"sequencer()": FunctionFragment; | ||
"setBaseToken(address)": FunctionFragment; | ||
"setBoost(uint256)": FunctionFragment; | ||
"setFallbackGasBonus(uint256)": FunctionFragment; | ||
"setFallbackToken(address)": FunctionFragment; | ||
"setFallbackTokenWETHPool(address)": FunctionFragment; | ||
"setGasBonus(uint256)": FunctionFragment; | ||
"setGasMaximum(uint256)": FunctionFragment; | ||
"setGasMultiplier(uint256)": FunctionFragment; | ||
"setKeep3r(address)": FunctionFragment; | ||
"setKeep3rHelper(address)": FunctionFragment; | ||
"setKeep3rRequirements(address,uint256,uint256,uint256)": FunctionFragment; | ||
@@ -32,20 +43,24 @@ "setNetwork(bytes32)": FunctionFragment; | ||
"setPendingGovernor(address)": FunctionFragment; | ||
"setQuoteToken(address)": FunctionFragment; | ||
"setSequencerAddress(address)": FunctionFragment; | ||
"setTokenWETHPool(address)": FunctionFragment; | ||
"setTwapTime(uint32)": FunctionFragment; | ||
"tokenWETHPool()": FunctionFragment; | ||
"twapTime()": FunctionFragment; | ||
"work(address,bytes)": FunctionFragment; | ||
"workMetered(address,bytes)": FunctionFragment; | ||
}; | ||
encodeFunctionData(functionFragment: "BASE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "ETH_ADDRESS", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "WETH", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "acceptPendingGovernor", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "baseToken", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "boost", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "fallbackGasBonus", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "fallbackToken", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "fallbackTokenWETHPool", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "gasBonus", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "gasMaximum", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "gasMultiplier", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "governor", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "keep3r", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "keep3rHelper", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "network", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "paused", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "pendingGovernor", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "quoteToken", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "requiredAge", values?: undefined): string; | ||
@@ -57,5 +72,10 @@ encodeFunctionData(functionFragment: "requiredBond", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "sequencer", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "setBaseToken", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setBoost", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "setFallbackGasBonus", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "setFallbackToken", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setFallbackTokenWETHPool", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setGasBonus", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "setGasMaximum", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "setGasMultiplier", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "setKeep3r", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setKeep3rHelper", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setKeep3rRequirements", values: [string, BigNumberish, BigNumberish, BigNumberish]): string; | ||
@@ -65,19 +85,23 @@ encodeFunctionData(functionFragment: "setNetwork", values: [BytesLike]): string; | ||
encodeFunctionData(functionFragment: "setPendingGovernor", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setQuoteToken", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setSequencerAddress", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setTokenWETHPool", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setTwapTime", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "tokenWETHPool", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "twapTime", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "work", values: [string, BytesLike]): string; | ||
encodeFunctionData(functionFragment: "workMetered", values: [string, BytesLike]): string; | ||
decodeFunctionResult(functionFragment: "BASE", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "ETH_ADDRESS", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "WETH", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "acceptPendingGovernor", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "baseToken", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "boost", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "fallbackGasBonus", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "fallbackToken", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "fallbackTokenWETHPool", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "gasBonus", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "gasMaximum", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "gasMultiplier", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "governor", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "keep3r", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "keep3rHelper", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "network", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "pendingGovernor", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "quoteToken", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "requiredAge", data: BytesLike): Result; | ||
@@ -89,5 +113,10 @@ decodeFunctionResult(functionFragment: "requiredBond", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "sequencer", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setBaseToken", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setBoost", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setFallbackGasBonus", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setFallbackToken", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setFallbackTokenWETHPool", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setGasBonus", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setGasMaximum", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setGasMultiplier", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setKeep3r", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setKeep3rHelper", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setKeep3rRequirements", data: BytesLike): Result; | ||
@@ -97,13 +126,18 @@ decodeFunctionResult(functionFragment: "setNetwork", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setPendingGovernor", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setQuoteToken", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setSequencerAddress", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setTokenWETHPool", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setTwapTime", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "tokenWETHPool", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "twapTime", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "work", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "workMetered", data: BytesLike): Result; | ||
events: { | ||
"BaseTokenAddressSet(address)": EventFragment; | ||
"BoostSet(uint256)": EventFragment; | ||
"DustSent(address,uint256,address)": EventFragment; | ||
"FallbackGasBonusSet(uint256)": EventFragment; | ||
"FallbackTokenAddressSet(address)": EventFragment; | ||
"FallbackTokenWETHPoolSet(address)": EventFragment; | ||
"GasBonusSet(uint256)": EventFragment; | ||
"GasMaximumSet(uint256)": EventFragment; | ||
"GasMetered(uint256,uint256,uint256)": EventFragment; | ||
"GasMultiplierSet(uint256)": EventFragment; | ||
"JobWorked(address)": EventFragment; | ||
"Keep3rHelperSet(address)": EventFragment; | ||
"Keep3rRequirementsSet(address,uint256,uint256,uint256)": EventFragment; | ||
@@ -115,11 +149,15 @@ "Keep3rSet(address)": EventFragment; | ||
"PendingGovernorSet(address,address)": EventFragment; | ||
"QuoteTokenAddressSet(address)": EventFragment; | ||
"SequencerAddressSet(address)": EventFragment; | ||
"TokenPaymentAddressSet(address)": EventFragment; | ||
"TokenWETHPoolAddressSet(address)": EventFragment; | ||
"TwapTimeSet(uint256)": EventFragment; | ||
}; | ||
getEvent(nameOrSignatureOrTopic: "BaseTokenAddressSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "BoostSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "DustSent"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "FallbackGasBonusSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "FallbackTokenAddressSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "FallbackTokenWETHPoolSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "GasBonusSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "GasMaximumSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "GasMetered"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "GasMultiplierSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "JobWorked"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "Keep3rHelperSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "Keep3rRequirementsSet"): EventFragment; | ||
@@ -131,18 +169,5 @@ getEvent(nameOrSignatureOrTopic: "Keep3rSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "PendingGovernorSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "QuoteTokenAddressSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "SequencerAddressSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "TokenPaymentAddressSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "TokenWETHPoolAddressSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "TwapTimeSet"): EventFragment; | ||
} | ||
export declare type BaseTokenAddressSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
_newBaseToken: string; | ||
}>; | ||
export declare type BaseTokenAddressSetEventFilter = TypedEventFilter<BaseTokenAddressSetEvent>; | ||
export declare type BoostSetEvent = TypedEvent<[BigNumber], { | ||
_newBoost: BigNumber; | ||
}>; | ||
export declare type BoostSetEventFilter = TypedEventFilter<BoostSetEvent>; | ||
export declare type DustSentEvent = TypedEvent<[ | ||
@@ -158,2 +183,56 @@ string, | ||
export declare type DustSentEventFilter = TypedEventFilter<DustSentEvent>; | ||
export declare type FallbackGasBonusSetEvent = TypedEvent<[ | ||
BigNumber | ||
], { | ||
gasBonus: BigNumber; | ||
}>; | ||
export declare type FallbackGasBonusSetEventFilter = TypedEventFilter<FallbackGasBonusSetEvent>; | ||
export declare type FallbackTokenAddressSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
fallbackToken: string; | ||
}>; | ||
export declare type FallbackTokenAddressSetEventFilter = TypedEventFilter<FallbackTokenAddressSetEvent>; | ||
export declare type FallbackTokenWETHPoolSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
fallbackTokenWETHPool: string; | ||
}>; | ||
export declare type FallbackTokenWETHPoolSetEventFilter = TypedEventFilter<FallbackTokenWETHPoolSetEvent>; | ||
export declare type GasBonusSetEvent = TypedEvent<[BigNumber], { | ||
gasBonus: BigNumber; | ||
}>; | ||
export declare type GasBonusSetEventFilter = TypedEventFilter<GasBonusSetEvent>; | ||
export declare type GasMaximumSetEvent = TypedEvent<[ | ||
BigNumber | ||
], { | ||
gasMaximum: BigNumber; | ||
}>; | ||
export declare type GasMaximumSetEventFilter = TypedEventFilter<GasMaximumSetEvent>; | ||
export declare type GasMeteredEvent = TypedEvent<[ | ||
BigNumber, | ||
BigNumber, | ||
BigNumber | ||
], { | ||
initialGas: BigNumber; | ||
gasAfterWork: BigNumber; | ||
bonus: BigNumber; | ||
}>; | ||
export declare type GasMeteredEventFilter = TypedEventFilter<GasMeteredEvent>; | ||
export declare type GasMultiplierSetEvent = TypedEvent<[ | ||
BigNumber | ||
], { | ||
gasMultiplier: BigNumber; | ||
}>; | ||
export declare type GasMultiplierSetEventFilter = TypedEventFilter<GasMultiplierSetEvent>; | ||
export declare type JobWorkedEvent = TypedEvent<[string], { | ||
_job: string; | ||
}>; | ||
export declare type JobWorkedEventFilter = TypedEventFilter<JobWorkedEvent>; | ||
export declare type Keep3rHelperSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
keep3rHelper: string; | ||
}>; | ||
export declare type Keep3rHelperSetEventFilter = TypedEventFilter<Keep3rHelperSetEvent>; | ||
export declare type Keep3rRequirementsSetEvent = TypedEvent<[ | ||
@@ -197,8 +276,2 @@ string, | ||
export declare type PendingGovernorSetEventFilter = TypedEventFilter<PendingGovernorSetEvent>; | ||
export declare type QuoteTokenAddressSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
_newQuoteToken: string; | ||
}>; | ||
export declare type QuoteTokenAddressSetEventFilter = TypedEventFilter<QuoteTokenAddressSetEvent>; | ||
export declare type SequencerAddressSetEvent = TypedEvent<[ | ||
@@ -210,19 +283,5 @@ string | ||
export declare type SequencerAddressSetEventFilter = TypedEventFilter<SequencerAddressSetEvent>; | ||
export declare type TokenPaymentAddressSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
_newTokenPaymentAddress: string; | ||
export declare type TwapTimeSetEvent = TypedEvent<[BigNumber], { | ||
twapTime: BigNumber; | ||
}>; | ||
export declare type TokenPaymentAddressSetEventFilter = TypedEventFilter<TokenPaymentAddressSetEvent>; | ||
export declare type TokenWETHPoolAddressSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
_newTokenWETHPool: string; | ||
}>; | ||
export declare type TokenWETHPoolAddressSetEventFilter = TypedEventFilter<TokenWETHPoolAddressSetEvent>; | ||
export declare type TwapTimeSetEvent = TypedEvent<[ | ||
BigNumber | ||
], { | ||
_twapTime: BigNumber; | ||
}>; | ||
export declare type TwapTimeSetEventFilter = TypedEventFilter<TwapTimeSetEvent>; | ||
@@ -244,14 +303,20 @@ export interface Job extends BaseContract { | ||
functions: { | ||
BASE(overrides?: CallOverrides): Promise<[number]>; | ||
ETH_ADDRESS(overrides?: CallOverrides): Promise<[string]>; | ||
WETH(overrides?: CallOverrides): Promise<[string]>; | ||
acceptPendingGovernor(overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
baseToken(overrides?: CallOverrides): Promise<[string]>; | ||
boost(overrides?: CallOverrides): Promise<[BigNumber]>; | ||
fallbackGasBonus(overrides?: CallOverrides): Promise<[BigNumber]>; | ||
fallbackToken(overrides?: CallOverrides): Promise<[string]>; | ||
fallbackTokenWETHPool(overrides?: CallOverrides): Promise<[string]>; | ||
gasBonus(overrides?: CallOverrides): Promise<[BigNumber]>; | ||
gasMaximum(overrides?: CallOverrides): Promise<[BigNumber]>; | ||
gasMultiplier(overrides?: CallOverrides): Promise<[BigNumber]>; | ||
governor(overrides?: CallOverrides): Promise<[string]>; | ||
keep3r(overrides?: CallOverrides): Promise<[string]>; | ||
keep3rHelper(overrides?: CallOverrides): Promise<[string]>; | ||
network(overrides?: CallOverrides): Promise<[string]>; | ||
paused(overrides?: CallOverrides): Promise<[boolean]>; | ||
pendingGovernor(overrides?: CallOverrides): Promise<[string]>; | ||
quoteToken(overrides?: CallOverrides): Promise<[string]>; | ||
requiredAge(overrides?: CallOverrides): Promise<[BigNumber]>; | ||
@@ -265,11 +330,26 @@ requiredBond(overrides?: CallOverrides): Promise<[string]>; | ||
sequencer(overrides?: CallOverrides): Promise<[string]>; | ||
setBaseToken(_baseToken: string, overrides?: Overrides & { | ||
setFallbackGasBonus(_fallbackGasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setBoost(_boost: BigNumberish, overrides?: Overrides & { | ||
setFallbackToken(_fallbackToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setFallbackTokenWETHPool(_fallbackTokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setGasBonus(_gasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setGasMaximum(_gasMaximum: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setGasMultiplier(_gasMultiplier: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setKeep3r(_keep3r: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setKeep3rHelper(_keep3rHelper: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setKeep3rRequirements(_bond: string, _minBond: BigNumberish, _earned: BigNumberish, _age: BigNumberish, overrides?: Overrides & { | ||
@@ -287,15 +367,8 @@ from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setQuoteToken(_quoteToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setSequencerAddress(_sequencer: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setTokenWETHPool(_tokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setTwapTime(_twapTime: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
tokenWETHPool(overrides?: CallOverrides): Promise<[string]>; | ||
twapTime(overrides?: CallOverrides): Promise<[number]>; | ||
@@ -305,15 +378,24 @@ work(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
}): Promise<ContractTransaction>; | ||
workMetered(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
}; | ||
BASE(overrides?: CallOverrides): Promise<number>; | ||
ETH_ADDRESS(overrides?: CallOverrides): Promise<string>; | ||
WETH(overrides?: CallOverrides): Promise<string>; | ||
acceptPendingGovernor(overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
baseToken(overrides?: CallOverrides): Promise<string>; | ||
boost(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackGasBonus(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackToken(overrides?: CallOverrides): Promise<string>; | ||
fallbackTokenWETHPool(overrides?: CallOverrides): Promise<string>; | ||
gasBonus(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasMaximum(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasMultiplier(overrides?: CallOverrides): Promise<BigNumber>; | ||
governor(overrides?: CallOverrides): Promise<string>; | ||
keep3r(overrides?: CallOverrides): Promise<string>; | ||
keep3rHelper(overrides?: CallOverrides): Promise<string>; | ||
network(overrides?: CallOverrides): Promise<string>; | ||
paused(overrides?: CallOverrides): Promise<boolean>; | ||
pendingGovernor(overrides?: CallOverrides): Promise<string>; | ||
quoteToken(overrides?: CallOverrides): Promise<string>; | ||
requiredAge(overrides?: CallOverrides): Promise<BigNumber>; | ||
@@ -327,11 +409,26 @@ requiredBond(overrides?: CallOverrides): Promise<string>; | ||
sequencer(overrides?: CallOverrides): Promise<string>; | ||
setBaseToken(_baseToken: string, overrides?: Overrides & { | ||
setFallbackGasBonus(_fallbackGasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setBoost(_boost: BigNumberish, overrides?: Overrides & { | ||
setFallbackToken(_fallbackToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setFallbackTokenWETHPool(_fallbackTokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setGasBonus(_gasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setGasMaximum(_gasMaximum: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setGasMultiplier(_gasMultiplier: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setKeep3r(_keep3r: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setKeep3rHelper(_keep3rHelper: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setKeep3rRequirements(_bond: string, _minBond: BigNumberish, _earned: BigNumberish, _age: BigNumberish, overrides?: Overrides & { | ||
@@ -349,15 +446,8 @@ from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setQuoteToken(_quoteToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setSequencerAddress(_sequencer: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setTokenWETHPool(_tokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setTwapTime(_twapTime: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
tokenWETHPool(overrides?: CallOverrides): Promise<string>; | ||
twapTime(overrides?: CallOverrides): Promise<number>; | ||
@@ -367,13 +457,22 @@ work(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
}): Promise<ContractTransaction>; | ||
workMetered(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
callStatic: { | ||
BASE(overrides?: CallOverrides): Promise<number>; | ||
ETH_ADDRESS(overrides?: CallOverrides): Promise<string>; | ||
WETH(overrides?: CallOverrides): Promise<string>; | ||
acceptPendingGovernor(overrides?: CallOverrides): Promise<void>; | ||
baseToken(overrides?: CallOverrides): Promise<string>; | ||
boost(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackGasBonus(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackToken(overrides?: CallOverrides): Promise<string>; | ||
fallbackTokenWETHPool(overrides?: CallOverrides): Promise<string>; | ||
gasBonus(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasMaximum(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasMultiplier(overrides?: CallOverrides): Promise<BigNumber>; | ||
governor(overrides?: CallOverrides): Promise<string>; | ||
keep3r(overrides?: CallOverrides): Promise<string>; | ||
keep3rHelper(overrides?: CallOverrides): Promise<string>; | ||
network(overrides?: CallOverrides): Promise<string>; | ||
paused(overrides?: CallOverrides): Promise<boolean>; | ||
pendingGovernor(overrides?: CallOverrides): Promise<string>; | ||
quoteToken(overrides?: CallOverrides): Promise<string>; | ||
requiredAge(overrides?: CallOverrides): Promise<BigNumber>; | ||
@@ -385,5 +484,10 @@ requiredBond(overrides?: CallOverrides): Promise<string>; | ||
sequencer(overrides?: CallOverrides): Promise<string>; | ||
setBaseToken(_baseToken: string, overrides?: CallOverrides): Promise<void>; | ||
setBoost(_boost: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
setFallbackGasBonus(_fallbackGasBonus: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
setFallbackToken(_fallbackToken: string, overrides?: CallOverrides): Promise<void>; | ||
setFallbackTokenWETHPool(_fallbackTokenWETHPool: string, overrides?: CallOverrides): Promise<void>; | ||
setGasBonus(_gasBonus: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
setGasMaximum(_gasMaximum: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
setGasMultiplier(_gasMultiplier: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
setKeep3r(_keep3r: string, overrides?: CallOverrides): Promise<void>; | ||
setKeep3rHelper(_keep3rHelper: string, overrides?: CallOverrides): Promise<void>; | ||
setKeep3rRequirements(_bond: string, _minBond: BigNumberish, _earned: BigNumberish, _age: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
@@ -393,17 +497,29 @@ setNetwork(_network: BytesLike, overrides?: CallOverrides): Promise<void>; | ||
setPendingGovernor(_pendingGovernor: string, overrides?: CallOverrides): Promise<void>; | ||
setQuoteToken(_quoteToken: string, overrides?: CallOverrides): Promise<void>; | ||
setSequencerAddress(_sequencer: string, overrides?: CallOverrides): Promise<void>; | ||
setTokenWETHPool(_tokenWETHPool: string, overrides?: CallOverrides): Promise<void>; | ||
setTwapTime(_twapTime: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
tokenWETHPool(overrides?: CallOverrides): Promise<string>; | ||
twapTime(overrides?: CallOverrides): Promise<number>; | ||
work(_job: string, _data: BytesLike, overrides?: CallOverrides): Promise<void>; | ||
workMetered(_job: string, _data: BytesLike, overrides?: CallOverrides): Promise<void>; | ||
}; | ||
filters: { | ||
"BaseTokenAddressSet(address)"(_newBaseToken?: null): BaseTokenAddressSetEventFilter; | ||
BaseTokenAddressSet(_newBaseToken?: null): BaseTokenAddressSetEventFilter; | ||
"BoostSet(uint256)"(_newBoost?: null): BoostSetEventFilter; | ||
BoostSet(_newBoost?: null): BoostSetEventFilter; | ||
"DustSent(address,uint256,address)"(_token?: null, _amount?: null, _to?: null): DustSentEventFilter; | ||
DustSent(_token?: null, _amount?: null, _to?: null): DustSentEventFilter; | ||
"FallbackGasBonusSet(uint256)"(gasBonus?: null): FallbackGasBonusSetEventFilter; | ||
FallbackGasBonusSet(gasBonus?: null): FallbackGasBonusSetEventFilter; | ||
"FallbackTokenAddressSet(address)"(fallbackToken?: null): FallbackTokenAddressSetEventFilter; | ||
FallbackTokenAddressSet(fallbackToken?: null): FallbackTokenAddressSetEventFilter; | ||
"FallbackTokenWETHPoolSet(address)"(fallbackTokenWETHPool?: null): FallbackTokenWETHPoolSetEventFilter; | ||
FallbackTokenWETHPoolSet(fallbackTokenWETHPool?: null): FallbackTokenWETHPoolSetEventFilter; | ||
"GasBonusSet(uint256)"(gasBonus?: null): GasBonusSetEventFilter; | ||
GasBonusSet(gasBonus?: null): GasBonusSetEventFilter; | ||
"GasMaximumSet(uint256)"(gasMaximum?: null): GasMaximumSetEventFilter; | ||
GasMaximumSet(gasMaximum?: null): GasMaximumSetEventFilter; | ||
"GasMetered(uint256,uint256,uint256)"(initialGas?: null, gasAfterWork?: null, bonus?: null): GasMeteredEventFilter; | ||
GasMetered(initialGas?: null, gasAfterWork?: null, bonus?: null): GasMeteredEventFilter; | ||
"GasMultiplierSet(uint256)"(gasMultiplier?: null): GasMultiplierSetEventFilter; | ||
GasMultiplierSet(gasMultiplier?: null): GasMultiplierSetEventFilter; | ||
"JobWorked(address)"(_job?: null): JobWorkedEventFilter; | ||
JobWorked(_job?: null): JobWorkedEventFilter; | ||
"Keep3rHelperSet(address)"(keep3rHelper?: null): Keep3rHelperSetEventFilter; | ||
Keep3rHelperSet(keep3rHelper?: null): Keep3rHelperSetEventFilter; | ||
"Keep3rRequirementsSet(address,uint256,uint256,uint256)"(_bond?: null, _minBond?: null, _earned?: null, _age?: null): Keep3rRequirementsSetEventFilter; | ||
@@ -421,26 +537,26 @@ Keep3rRequirementsSet(_bond?: null, _minBond?: null, _earned?: null, _age?: null): Keep3rRequirementsSetEventFilter; | ||
PendingGovernorSet(_governor?: null, _pendingGovernor?: null): PendingGovernorSetEventFilter; | ||
"QuoteTokenAddressSet(address)"(_newQuoteToken?: null): QuoteTokenAddressSetEventFilter; | ||
QuoteTokenAddressSet(_newQuoteToken?: null): QuoteTokenAddressSetEventFilter; | ||
"SequencerAddressSet(address)"(_newSequencerAddress?: null): SequencerAddressSetEventFilter; | ||
SequencerAddressSet(_newSequencerAddress?: null): SequencerAddressSetEventFilter; | ||
"TokenPaymentAddressSet(address)"(_newTokenPaymentAddress?: null): TokenPaymentAddressSetEventFilter; | ||
TokenPaymentAddressSet(_newTokenPaymentAddress?: null): TokenPaymentAddressSetEventFilter; | ||
"TokenWETHPoolAddressSet(address)"(_newTokenWETHPool?: null): TokenWETHPoolAddressSetEventFilter; | ||
TokenWETHPoolAddressSet(_newTokenWETHPool?: null): TokenWETHPoolAddressSetEventFilter; | ||
"TwapTimeSet(uint256)"(_twapTime?: null): TwapTimeSetEventFilter; | ||
TwapTimeSet(_twapTime?: null): TwapTimeSetEventFilter; | ||
"TwapTimeSet(uint256)"(twapTime?: null): TwapTimeSetEventFilter; | ||
TwapTimeSet(twapTime?: null): TwapTimeSetEventFilter; | ||
}; | ||
estimateGas: { | ||
BASE(overrides?: CallOverrides): Promise<BigNumber>; | ||
ETH_ADDRESS(overrides?: CallOverrides): Promise<BigNumber>; | ||
WETH(overrides?: CallOverrides): Promise<BigNumber>; | ||
acceptPendingGovernor(overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
baseToken(overrides?: CallOverrides): Promise<BigNumber>; | ||
boost(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackGasBonus(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackToken(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackTokenWETHPool(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasBonus(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasMaximum(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasMultiplier(overrides?: CallOverrides): Promise<BigNumber>; | ||
governor(overrides?: CallOverrides): Promise<BigNumber>; | ||
keep3r(overrides?: CallOverrides): Promise<BigNumber>; | ||
keep3rHelper(overrides?: CallOverrides): Promise<BigNumber>; | ||
network(overrides?: CallOverrides): Promise<BigNumber>; | ||
paused(overrides?: CallOverrides): Promise<BigNumber>; | ||
pendingGovernor(overrides?: CallOverrides): Promise<BigNumber>; | ||
quoteToken(overrides?: CallOverrides): Promise<BigNumber>; | ||
requiredAge(overrides?: CallOverrides): Promise<BigNumber>; | ||
@@ -454,11 +570,26 @@ requiredBond(overrides?: CallOverrides): Promise<BigNumber>; | ||
sequencer(overrides?: CallOverrides): Promise<BigNumber>; | ||
setBaseToken(_baseToken: string, overrides?: Overrides & { | ||
setFallbackGasBonus(_fallbackGasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setBoost(_boost: BigNumberish, overrides?: Overrides & { | ||
setFallbackToken(_fallbackToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setFallbackTokenWETHPool(_fallbackTokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setGasBonus(_gasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setGasMaximum(_gasMaximum: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setGasMultiplier(_gasMultiplier: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setKeep3r(_keep3r: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setKeep3rHelper(_keep3rHelper: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setKeep3rRequirements(_bond: string, _minBond: BigNumberish, _earned: BigNumberish, _age: BigNumberish, overrides?: Overrides & { | ||
@@ -476,15 +607,8 @@ from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setQuoteToken(_quoteToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setSequencerAddress(_sequencer: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setTokenWETHPool(_tokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setTwapTime(_twapTime: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
tokenWETHPool(overrides?: CallOverrides): Promise<BigNumber>; | ||
twapTime(overrides?: CallOverrides): Promise<BigNumber>; | ||
@@ -494,16 +618,25 @@ work(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
}): Promise<BigNumber>; | ||
workMetered(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
}; | ||
populateTransaction: { | ||
BASE(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
ETH_ADDRESS(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
WETH(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
acceptPendingGovernor(overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
baseToken(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
boost(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
fallbackGasBonus(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
fallbackToken(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
fallbackTokenWETHPool(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
gasBonus(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
gasMaximum(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
gasMultiplier(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
governor(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
keep3r(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
keep3rHelper(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
network(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
paused(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
pendingGovernor(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
quoteToken(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
requiredAge(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
@@ -517,11 +650,26 @@ requiredBond(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
sequencer(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
setBaseToken(_baseToken: string, overrides?: Overrides & { | ||
setFallbackGasBonus(_fallbackGasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setBoost(_boost: BigNumberish, overrides?: Overrides & { | ||
setFallbackToken(_fallbackToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setFallbackTokenWETHPool(_fallbackTokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setGasBonus(_gasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setGasMaximum(_gasMaximum: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setGasMultiplier(_gasMultiplier: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setKeep3r(_keep3r: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setKeep3rHelper(_keep3rHelper: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setKeep3rRequirements(_bond: string, _minBond: BigNumberish, _earned: BigNumberish, _age: BigNumberish, overrides?: Overrides & { | ||
@@ -539,15 +687,8 @@ from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setQuoteToken(_quoteToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setSequencerAddress(_sequencer: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setTokenWETHPool(_tokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setTwapTime(_twapTime: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
tokenWETHPool(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
twapTime(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
@@ -557,3 +698,6 @@ work(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
}): Promise<PopulatedTransaction>; | ||
workMetered(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
}; | ||
} |
@@ -9,5 +9,5 @@ import { Contract } from 'ethers'; | ||
return { | ||
"job": getContract('0x5D469E1ef75507b0E0439667ae45e280b9D81B9C', mainnetJobAbi, defaultSigner), | ||
"job": getContract('0x28937B751050FcFd47Fd49165C6E1268c296BA19', mainnetJobAbi, defaultSigner), | ||
"sequencer": getContract('0x9566eB72e47E3E20643C0b1dfbEe04Da5c7E4732', mainnetSequencerAbi, defaultSigner), | ||
}; | ||
} |
@@ -34,7 +34,2 @@ /* Autogenerated file. Do not edit manually. */ | ||
inputs: [], | ||
name: "KeeperNotRegistered", | ||
type: "error", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "KeeperNotValid", | ||
@@ -79,7 +74,19 @@ type: "error", | ||
internalType: "address", | ||
name: "_newBaseToken", | ||
name: "_token", | ||
type: "address", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "_amount", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "address", | ||
name: "_to", | ||
type: "address", | ||
}, | ||
], | ||
name: "BaseTokenAddressSet", | ||
name: "DustSent", | ||
type: "event", | ||
@@ -93,7 +100,7 @@ }, | ||
internalType: "uint256", | ||
name: "_newBoost", | ||
name: "gasBonus", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "BoostSet", | ||
name: "FallbackGasBonusSet", | ||
type: "event", | ||
@@ -107,19 +114,97 @@ }, | ||
internalType: "address", | ||
name: "_token", | ||
name: "fallbackToken", | ||
type: "address", | ||
}, | ||
], | ||
name: "FallbackTokenAddressSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "address", | ||
name: "fallbackTokenWETHPool", | ||
type: "address", | ||
}, | ||
], | ||
name: "FallbackTokenWETHPoolSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "_amount", | ||
name: "gasBonus", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "GasBonusSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "gasMaximum", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "GasMaximumSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "initialGas", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "gasAfterWork", | ||
type: "uint256", | ||
}, | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "bonus", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "GasMetered", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "gasMultiplier", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "GasMultiplierSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "address", | ||
name: "_to", | ||
name: "_job", | ||
type: "address", | ||
}, | ||
], | ||
name: "DustSent", | ||
name: "JobWorked", | ||
type: "event", | ||
@@ -133,2 +218,15 @@ }, | ||
internalType: "address", | ||
name: "keep3rHelper", | ||
type: "address", | ||
}, | ||
], | ||
name: "Keep3rHelperSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "address", | ||
name: "_bond", | ||
@@ -236,7 +334,7 @@ type: "address", | ||
internalType: "address", | ||
name: "_newQuoteToken", | ||
name: "_newSequencerAddress", | ||
type: "address", | ||
}, | ||
], | ||
name: "QuoteTokenAddressSet", | ||
name: "SequencerAddressSet", | ||
type: "event", | ||
@@ -249,52 +347,72 @@ }, | ||
indexed: false, | ||
internalType: "address", | ||
name: "_newSequencerAddress", | ||
type: "address", | ||
internalType: "uint256", | ||
name: "twapTime", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "SequencerAddressSet", | ||
name: "TwapTimeSet", | ||
type: "event", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
inputs: [], | ||
name: "BASE", | ||
outputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "uint32", | ||
name: "", | ||
type: "uint32", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "ETH_ADDRESS", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
name: "_newTokenPaymentAddress", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
name: "TokenPaymentAddressSet", | ||
type: "event", | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
inputs: [], | ||
name: "WETH", | ||
outputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "address", | ||
name: "_newTokenWETHPool", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
name: "TokenWETHPoolAddressSet", | ||
type: "event", | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
anonymous: false, | ||
inputs: [ | ||
inputs: [], | ||
name: "acceptPendingGovernor", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "fallbackGasBonus", | ||
outputs: [ | ||
{ | ||
indexed: false, | ||
internalType: "uint256", | ||
name: "_twapTime", | ||
name: "", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "TwapTimeSet", | ||
type: "event", | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "ETH_ADDRESS", | ||
name: "fallbackToken", | ||
outputs: [ | ||
@@ -312,5 +430,11 @@ { | ||
inputs: [], | ||
name: "acceptPendingGovernor", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
name: "fallbackTokenWETHPool", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
name: "", | ||
type: "address", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
@@ -320,8 +444,8 @@ }, | ||
inputs: [], | ||
name: "baseToken", | ||
name: "gasBonus", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
internalType: "uint256", | ||
name: "", | ||
type: "address", | ||
type: "uint256", | ||
}, | ||
@@ -334,3 +458,3 @@ ], | ||
inputs: [], | ||
name: "boost", | ||
name: "gasMaximum", | ||
outputs: [ | ||
@@ -348,2 +472,15 @@ { | ||
inputs: [], | ||
name: "gasMultiplier", | ||
outputs: [ | ||
{ | ||
internalType: "uint256", | ||
name: "", | ||
type: "uint256", | ||
}, | ||
], | ||
stateMutability: "view", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [], | ||
name: "governor", | ||
@@ -375,8 +512,8 @@ outputs: [ | ||
inputs: [], | ||
name: "network", | ||
name: "keep3rHelper", | ||
outputs: [ | ||
{ | ||
internalType: "bytes32", | ||
internalType: "address", | ||
name: "", | ||
type: "bytes32", | ||
type: "address", | ||
}, | ||
@@ -389,8 +526,8 @@ ], | ||
inputs: [], | ||
name: "paused", | ||
name: "network", | ||
outputs: [ | ||
{ | ||
internalType: "bool", | ||
internalType: "bytes32", | ||
name: "", | ||
type: "bool", | ||
type: "bytes32", | ||
}, | ||
@@ -403,8 +540,8 @@ ], | ||
inputs: [], | ||
name: "pendingGovernor", | ||
name: "paused", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
internalType: "bool", | ||
name: "", | ||
type: "address", | ||
type: "bool", | ||
}, | ||
@@ -417,3 +554,3 @@ ], | ||
inputs: [], | ||
name: "quoteToken", | ||
name: "pendingGovernor", | ||
outputs: [ | ||
@@ -520,8 +657,21 @@ { | ||
{ | ||
internalType: "uint256", | ||
name: "_fallbackGasBonus", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "setFallbackGasBonus", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "_baseToken", | ||
name: "_fallbackToken", | ||
type: "address", | ||
}, | ||
], | ||
name: "setBaseToken", | ||
name: "setFallbackToken", | ||
outputs: [], | ||
@@ -534,8 +684,21 @@ stateMutability: "nonpayable", | ||
{ | ||
internalType: "address", | ||
name: "_fallbackTokenWETHPool", | ||
type: "address", | ||
}, | ||
], | ||
name: "setFallbackTokenWETHPool", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "uint256", | ||
name: "_boost", | ||
name: "_gasBonus", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "setBoost", | ||
name: "setGasBonus", | ||
outputs: [], | ||
@@ -548,2 +711,28 @@ stateMutability: "nonpayable", | ||
{ | ||
internalType: "uint256", | ||
name: "_gasMaximum", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "setGasMaximum", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "uint256", | ||
name: "_gasMultiplier", | ||
type: "uint256", | ||
}, | ||
], | ||
name: "setGasMultiplier", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
@@ -563,2 +752,15 @@ name: "_keep3r", | ||
internalType: "address", | ||
name: "_keep3rHelper", | ||
type: "address", | ||
}, | ||
], | ||
name: "setKeep3rHelper", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "_bond", | ||
@@ -631,15 +833,2 @@ type: "address", | ||
internalType: "address", | ||
name: "_quoteToken", | ||
type: "address", | ||
}, | ||
], | ||
name: "setQuoteToken", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "address", | ||
name: "_sequencer", | ||
@@ -657,15 +846,2 @@ type: "address", | ||
{ | ||
internalType: "address", | ||
name: "_tokenWETHPool", | ||
type: "address", | ||
}, | ||
], | ||
name: "setTokenWETHPool", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
}, | ||
{ | ||
inputs: [ | ||
{ | ||
internalType: "uint32", | ||
@@ -683,8 +859,8 @@ name: "_twapTime", | ||
inputs: [], | ||
name: "tokenWETHPool", | ||
name: "twapTime", | ||
outputs: [ | ||
{ | ||
internalType: "address", | ||
internalType: "uint32", | ||
name: "", | ||
type: "address", | ||
type: "uint32", | ||
}, | ||
@@ -696,12 +872,17 @@ ], | ||
{ | ||
inputs: [], | ||
name: "twapTime", | ||
outputs: [ | ||
inputs: [ | ||
{ | ||
internalType: "uint32", | ||
name: "", | ||
type: "uint32", | ||
internalType: "address", | ||
name: "_job", | ||
type: "address", | ||
}, | ||
{ | ||
internalType: "bytes", | ||
name: "_data", | ||
type: "bytes", | ||
}, | ||
], | ||
stateMutability: "view", | ||
name: "work", | ||
outputs: [], | ||
stateMutability: "nonpayable", | ||
type: "function", | ||
@@ -722,3 +903,3 @@ }, | ||
], | ||
name: "work", | ||
name: "workMetered", | ||
outputs: [], | ||
@@ -725,0 +906,0 @@ stateMutability: "nonpayable", |
@@ -7,12 +7,18 @@ import { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; | ||
functions: { | ||
"BASE()": FunctionFragment; | ||
"ETH_ADDRESS()": FunctionFragment; | ||
"WETH()": FunctionFragment; | ||
"acceptPendingGovernor()": FunctionFragment; | ||
"baseToken()": FunctionFragment; | ||
"boost()": FunctionFragment; | ||
"fallbackGasBonus()": FunctionFragment; | ||
"fallbackToken()": FunctionFragment; | ||
"fallbackTokenWETHPool()": FunctionFragment; | ||
"gasBonus()": FunctionFragment; | ||
"gasMaximum()": FunctionFragment; | ||
"gasMultiplier()": FunctionFragment; | ||
"governor()": FunctionFragment; | ||
"keep3r()": FunctionFragment; | ||
"keep3rHelper()": FunctionFragment; | ||
"network()": FunctionFragment; | ||
"paused()": FunctionFragment; | ||
"pendingGovernor()": FunctionFragment; | ||
"quoteToken()": FunctionFragment; | ||
"requiredAge()": FunctionFragment; | ||
@@ -24,5 +30,10 @@ "requiredBond()": FunctionFragment; | ||
"sequencer()": FunctionFragment; | ||
"setBaseToken(address)": FunctionFragment; | ||
"setBoost(uint256)": FunctionFragment; | ||
"setFallbackGasBonus(uint256)": FunctionFragment; | ||
"setFallbackToken(address)": FunctionFragment; | ||
"setFallbackTokenWETHPool(address)": FunctionFragment; | ||
"setGasBonus(uint256)": FunctionFragment; | ||
"setGasMaximum(uint256)": FunctionFragment; | ||
"setGasMultiplier(uint256)": FunctionFragment; | ||
"setKeep3r(address)": FunctionFragment; | ||
"setKeep3rHelper(address)": FunctionFragment; | ||
"setKeep3rRequirements(address,uint256,uint256,uint256)": FunctionFragment; | ||
@@ -32,20 +43,24 @@ "setNetwork(bytes32)": FunctionFragment; | ||
"setPendingGovernor(address)": FunctionFragment; | ||
"setQuoteToken(address)": FunctionFragment; | ||
"setSequencerAddress(address)": FunctionFragment; | ||
"setTokenWETHPool(address)": FunctionFragment; | ||
"setTwapTime(uint32)": FunctionFragment; | ||
"tokenWETHPool()": FunctionFragment; | ||
"twapTime()": FunctionFragment; | ||
"work(address,bytes)": FunctionFragment; | ||
"workMetered(address,bytes)": FunctionFragment; | ||
}; | ||
encodeFunctionData(functionFragment: "BASE", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "ETH_ADDRESS", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "WETH", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "acceptPendingGovernor", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "baseToken", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "boost", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "fallbackGasBonus", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "fallbackToken", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "fallbackTokenWETHPool", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "gasBonus", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "gasMaximum", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "gasMultiplier", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "governor", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "keep3r", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "keep3rHelper", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "network", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "paused", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "pendingGovernor", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "quoteToken", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "requiredAge", values?: undefined): string; | ||
@@ -57,5 +72,10 @@ encodeFunctionData(functionFragment: "requiredBond", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "sequencer", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "setBaseToken", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setBoost", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "setFallbackGasBonus", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "setFallbackToken", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setFallbackTokenWETHPool", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setGasBonus", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "setGasMaximum", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "setGasMultiplier", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "setKeep3r", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setKeep3rHelper", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setKeep3rRequirements", values: [string, BigNumberish, BigNumberish, BigNumberish]): string; | ||
@@ -65,19 +85,23 @@ encodeFunctionData(functionFragment: "setNetwork", values: [BytesLike]): string; | ||
encodeFunctionData(functionFragment: "setPendingGovernor", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setQuoteToken", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setSequencerAddress", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setTokenWETHPool", values: [string]): string; | ||
encodeFunctionData(functionFragment: "setTwapTime", values: [BigNumberish]): string; | ||
encodeFunctionData(functionFragment: "tokenWETHPool", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "twapTime", values?: undefined): string; | ||
encodeFunctionData(functionFragment: "work", values: [string, BytesLike]): string; | ||
encodeFunctionData(functionFragment: "workMetered", values: [string, BytesLike]): string; | ||
decodeFunctionResult(functionFragment: "BASE", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "ETH_ADDRESS", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "WETH", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "acceptPendingGovernor", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "baseToken", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "boost", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "fallbackGasBonus", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "fallbackToken", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "fallbackTokenWETHPool", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "gasBonus", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "gasMaximum", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "gasMultiplier", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "governor", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "keep3r", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "keep3rHelper", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "network", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "pendingGovernor", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "quoteToken", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "requiredAge", data: BytesLike): Result; | ||
@@ -89,5 +113,10 @@ decodeFunctionResult(functionFragment: "requiredBond", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "sequencer", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setBaseToken", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setBoost", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setFallbackGasBonus", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setFallbackToken", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setFallbackTokenWETHPool", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setGasBonus", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setGasMaximum", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setGasMultiplier", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setKeep3r", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setKeep3rHelper", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setKeep3rRequirements", data: BytesLike): Result; | ||
@@ -97,13 +126,18 @@ decodeFunctionResult(functionFragment: "setNetwork", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setPendingGovernor", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setQuoteToken", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setSequencerAddress", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setTokenWETHPool", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "setTwapTime", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "tokenWETHPool", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "twapTime", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "work", data: BytesLike): Result; | ||
decodeFunctionResult(functionFragment: "workMetered", data: BytesLike): Result; | ||
events: { | ||
"BaseTokenAddressSet(address)": EventFragment; | ||
"BoostSet(uint256)": EventFragment; | ||
"DustSent(address,uint256,address)": EventFragment; | ||
"FallbackGasBonusSet(uint256)": EventFragment; | ||
"FallbackTokenAddressSet(address)": EventFragment; | ||
"FallbackTokenWETHPoolSet(address)": EventFragment; | ||
"GasBonusSet(uint256)": EventFragment; | ||
"GasMaximumSet(uint256)": EventFragment; | ||
"GasMetered(uint256,uint256,uint256)": EventFragment; | ||
"GasMultiplierSet(uint256)": EventFragment; | ||
"JobWorked(address)": EventFragment; | ||
"Keep3rHelperSet(address)": EventFragment; | ||
"Keep3rRequirementsSet(address,uint256,uint256,uint256)": EventFragment; | ||
@@ -115,11 +149,15 @@ "Keep3rSet(address)": EventFragment; | ||
"PendingGovernorSet(address,address)": EventFragment; | ||
"QuoteTokenAddressSet(address)": EventFragment; | ||
"SequencerAddressSet(address)": EventFragment; | ||
"TokenPaymentAddressSet(address)": EventFragment; | ||
"TokenWETHPoolAddressSet(address)": EventFragment; | ||
"TwapTimeSet(uint256)": EventFragment; | ||
}; | ||
getEvent(nameOrSignatureOrTopic: "BaseTokenAddressSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "BoostSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "DustSent"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "FallbackGasBonusSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "FallbackTokenAddressSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "FallbackTokenWETHPoolSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "GasBonusSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "GasMaximumSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "GasMetered"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "GasMultiplierSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "JobWorked"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "Keep3rHelperSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "Keep3rRequirementsSet"): EventFragment; | ||
@@ -131,18 +169,5 @@ getEvent(nameOrSignatureOrTopic: "Keep3rSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "PendingGovernorSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "QuoteTokenAddressSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "SequencerAddressSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "TokenPaymentAddressSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "TokenWETHPoolAddressSet"): EventFragment; | ||
getEvent(nameOrSignatureOrTopic: "TwapTimeSet"): EventFragment; | ||
} | ||
export declare type BaseTokenAddressSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
_newBaseToken: string; | ||
}>; | ||
export declare type BaseTokenAddressSetEventFilter = TypedEventFilter<BaseTokenAddressSetEvent>; | ||
export declare type BoostSetEvent = TypedEvent<[BigNumber], { | ||
_newBoost: BigNumber; | ||
}>; | ||
export declare type BoostSetEventFilter = TypedEventFilter<BoostSetEvent>; | ||
export declare type DustSentEvent = TypedEvent<[ | ||
@@ -158,2 +183,56 @@ string, | ||
export declare type DustSentEventFilter = TypedEventFilter<DustSentEvent>; | ||
export declare type FallbackGasBonusSetEvent = TypedEvent<[ | ||
BigNumber | ||
], { | ||
gasBonus: BigNumber; | ||
}>; | ||
export declare type FallbackGasBonusSetEventFilter = TypedEventFilter<FallbackGasBonusSetEvent>; | ||
export declare type FallbackTokenAddressSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
fallbackToken: string; | ||
}>; | ||
export declare type FallbackTokenAddressSetEventFilter = TypedEventFilter<FallbackTokenAddressSetEvent>; | ||
export declare type FallbackTokenWETHPoolSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
fallbackTokenWETHPool: string; | ||
}>; | ||
export declare type FallbackTokenWETHPoolSetEventFilter = TypedEventFilter<FallbackTokenWETHPoolSetEvent>; | ||
export declare type GasBonusSetEvent = TypedEvent<[BigNumber], { | ||
gasBonus: BigNumber; | ||
}>; | ||
export declare type GasBonusSetEventFilter = TypedEventFilter<GasBonusSetEvent>; | ||
export declare type GasMaximumSetEvent = TypedEvent<[ | ||
BigNumber | ||
], { | ||
gasMaximum: BigNumber; | ||
}>; | ||
export declare type GasMaximumSetEventFilter = TypedEventFilter<GasMaximumSetEvent>; | ||
export declare type GasMeteredEvent = TypedEvent<[ | ||
BigNumber, | ||
BigNumber, | ||
BigNumber | ||
], { | ||
initialGas: BigNumber; | ||
gasAfterWork: BigNumber; | ||
bonus: BigNumber; | ||
}>; | ||
export declare type GasMeteredEventFilter = TypedEventFilter<GasMeteredEvent>; | ||
export declare type GasMultiplierSetEvent = TypedEvent<[ | ||
BigNumber | ||
], { | ||
gasMultiplier: BigNumber; | ||
}>; | ||
export declare type GasMultiplierSetEventFilter = TypedEventFilter<GasMultiplierSetEvent>; | ||
export declare type JobWorkedEvent = TypedEvent<[string], { | ||
_job: string; | ||
}>; | ||
export declare type JobWorkedEventFilter = TypedEventFilter<JobWorkedEvent>; | ||
export declare type Keep3rHelperSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
keep3rHelper: string; | ||
}>; | ||
export declare type Keep3rHelperSetEventFilter = TypedEventFilter<Keep3rHelperSetEvent>; | ||
export declare type Keep3rRequirementsSetEvent = TypedEvent<[ | ||
@@ -197,8 +276,2 @@ string, | ||
export declare type PendingGovernorSetEventFilter = TypedEventFilter<PendingGovernorSetEvent>; | ||
export declare type QuoteTokenAddressSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
_newQuoteToken: string; | ||
}>; | ||
export declare type QuoteTokenAddressSetEventFilter = TypedEventFilter<QuoteTokenAddressSetEvent>; | ||
export declare type SequencerAddressSetEvent = TypedEvent<[ | ||
@@ -210,19 +283,5 @@ string | ||
export declare type SequencerAddressSetEventFilter = TypedEventFilter<SequencerAddressSetEvent>; | ||
export declare type TokenPaymentAddressSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
_newTokenPaymentAddress: string; | ||
export declare type TwapTimeSetEvent = TypedEvent<[BigNumber], { | ||
twapTime: BigNumber; | ||
}>; | ||
export declare type TokenPaymentAddressSetEventFilter = TypedEventFilter<TokenPaymentAddressSetEvent>; | ||
export declare type TokenWETHPoolAddressSetEvent = TypedEvent<[ | ||
string | ||
], { | ||
_newTokenWETHPool: string; | ||
}>; | ||
export declare type TokenWETHPoolAddressSetEventFilter = TypedEventFilter<TokenWETHPoolAddressSetEvent>; | ||
export declare type TwapTimeSetEvent = TypedEvent<[ | ||
BigNumber | ||
], { | ||
_twapTime: BigNumber; | ||
}>; | ||
export declare type TwapTimeSetEventFilter = TypedEventFilter<TwapTimeSetEvent>; | ||
@@ -244,14 +303,20 @@ export interface Job extends BaseContract { | ||
functions: { | ||
BASE(overrides?: CallOverrides): Promise<[number]>; | ||
ETH_ADDRESS(overrides?: CallOverrides): Promise<[string]>; | ||
WETH(overrides?: CallOverrides): Promise<[string]>; | ||
acceptPendingGovernor(overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
baseToken(overrides?: CallOverrides): Promise<[string]>; | ||
boost(overrides?: CallOverrides): Promise<[BigNumber]>; | ||
fallbackGasBonus(overrides?: CallOverrides): Promise<[BigNumber]>; | ||
fallbackToken(overrides?: CallOverrides): Promise<[string]>; | ||
fallbackTokenWETHPool(overrides?: CallOverrides): Promise<[string]>; | ||
gasBonus(overrides?: CallOverrides): Promise<[BigNumber]>; | ||
gasMaximum(overrides?: CallOverrides): Promise<[BigNumber]>; | ||
gasMultiplier(overrides?: CallOverrides): Promise<[BigNumber]>; | ||
governor(overrides?: CallOverrides): Promise<[string]>; | ||
keep3r(overrides?: CallOverrides): Promise<[string]>; | ||
keep3rHelper(overrides?: CallOverrides): Promise<[string]>; | ||
network(overrides?: CallOverrides): Promise<[string]>; | ||
paused(overrides?: CallOverrides): Promise<[boolean]>; | ||
pendingGovernor(overrides?: CallOverrides): Promise<[string]>; | ||
quoteToken(overrides?: CallOverrides): Promise<[string]>; | ||
requiredAge(overrides?: CallOverrides): Promise<[BigNumber]>; | ||
@@ -265,11 +330,26 @@ requiredBond(overrides?: CallOverrides): Promise<[string]>; | ||
sequencer(overrides?: CallOverrides): Promise<[string]>; | ||
setBaseToken(_baseToken: string, overrides?: Overrides & { | ||
setFallbackGasBonus(_fallbackGasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setBoost(_boost: BigNumberish, overrides?: Overrides & { | ||
setFallbackToken(_fallbackToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setFallbackTokenWETHPool(_fallbackTokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setGasBonus(_gasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setGasMaximum(_gasMaximum: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setGasMultiplier(_gasMultiplier: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setKeep3r(_keep3r: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setKeep3rHelper(_keep3rHelper: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setKeep3rRequirements(_bond: string, _minBond: BigNumberish, _earned: BigNumberish, _age: BigNumberish, overrides?: Overrides & { | ||
@@ -287,15 +367,8 @@ from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setQuoteToken(_quoteToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setSequencerAddress(_sequencer: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setTokenWETHPool(_tokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setTwapTime(_twapTime: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
tokenWETHPool(overrides?: CallOverrides): Promise<[string]>; | ||
twapTime(overrides?: CallOverrides): Promise<[number]>; | ||
@@ -305,15 +378,24 @@ work(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
}): Promise<ContractTransaction>; | ||
workMetered(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
}; | ||
BASE(overrides?: CallOverrides): Promise<number>; | ||
ETH_ADDRESS(overrides?: CallOverrides): Promise<string>; | ||
WETH(overrides?: CallOverrides): Promise<string>; | ||
acceptPendingGovernor(overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
baseToken(overrides?: CallOverrides): Promise<string>; | ||
boost(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackGasBonus(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackToken(overrides?: CallOverrides): Promise<string>; | ||
fallbackTokenWETHPool(overrides?: CallOverrides): Promise<string>; | ||
gasBonus(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasMaximum(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasMultiplier(overrides?: CallOverrides): Promise<BigNumber>; | ||
governor(overrides?: CallOverrides): Promise<string>; | ||
keep3r(overrides?: CallOverrides): Promise<string>; | ||
keep3rHelper(overrides?: CallOverrides): Promise<string>; | ||
network(overrides?: CallOverrides): Promise<string>; | ||
paused(overrides?: CallOverrides): Promise<boolean>; | ||
pendingGovernor(overrides?: CallOverrides): Promise<string>; | ||
quoteToken(overrides?: CallOverrides): Promise<string>; | ||
requiredAge(overrides?: CallOverrides): Promise<BigNumber>; | ||
@@ -327,11 +409,26 @@ requiredBond(overrides?: CallOverrides): Promise<string>; | ||
sequencer(overrides?: CallOverrides): Promise<string>; | ||
setBaseToken(_baseToken: string, overrides?: Overrides & { | ||
setFallbackGasBonus(_fallbackGasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setBoost(_boost: BigNumberish, overrides?: Overrides & { | ||
setFallbackToken(_fallbackToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setFallbackTokenWETHPool(_fallbackTokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setGasBonus(_gasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setGasMaximum(_gasMaximum: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setGasMultiplier(_gasMultiplier: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setKeep3r(_keep3r: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setKeep3rHelper(_keep3rHelper: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setKeep3rRequirements(_bond: string, _minBond: BigNumberish, _earned: BigNumberish, _age: BigNumberish, overrides?: Overrides & { | ||
@@ -349,15 +446,8 @@ from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setQuoteToken(_quoteToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setSequencerAddress(_sequencer: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setTokenWETHPool(_tokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
setTwapTime(_twapTime: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
tokenWETHPool(overrides?: CallOverrides): Promise<string>; | ||
twapTime(overrides?: CallOverrides): Promise<number>; | ||
@@ -367,13 +457,22 @@ work(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
}): Promise<ContractTransaction>; | ||
workMetered(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<ContractTransaction>; | ||
callStatic: { | ||
BASE(overrides?: CallOverrides): Promise<number>; | ||
ETH_ADDRESS(overrides?: CallOverrides): Promise<string>; | ||
WETH(overrides?: CallOverrides): Promise<string>; | ||
acceptPendingGovernor(overrides?: CallOverrides): Promise<void>; | ||
baseToken(overrides?: CallOverrides): Promise<string>; | ||
boost(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackGasBonus(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackToken(overrides?: CallOverrides): Promise<string>; | ||
fallbackTokenWETHPool(overrides?: CallOverrides): Promise<string>; | ||
gasBonus(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasMaximum(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasMultiplier(overrides?: CallOverrides): Promise<BigNumber>; | ||
governor(overrides?: CallOverrides): Promise<string>; | ||
keep3r(overrides?: CallOverrides): Promise<string>; | ||
keep3rHelper(overrides?: CallOverrides): Promise<string>; | ||
network(overrides?: CallOverrides): Promise<string>; | ||
paused(overrides?: CallOverrides): Promise<boolean>; | ||
pendingGovernor(overrides?: CallOverrides): Promise<string>; | ||
quoteToken(overrides?: CallOverrides): Promise<string>; | ||
requiredAge(overrides?: CallOverrides): Promise<BigNumber>; | ||
@@ -385,5 +484,10 @@ requiredBond(overrides?: CallOverrides): Promise<string>; | ||
sequencer(overrides?: CallOverrides): Promise<string>; | ||
setBaseToken(_baseToken: string, overrides?: CallOverrides): Promise<void>; | ||
setBoost(_boost: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
setFallbackGasBonus(_fallbackGasBonus: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
setFallbackToken(_fallbackToken: string, overrides?: CallOverrides): Promise<void>; | ||
setFallbackTokenWETHPool(_fallbackTokenWETHPool: string, overrides?: CallOverrides): Promise<void>; | ||
setGasBonus(_gasBonus: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
setGasMaximum(_gasMaximum: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
setGasMultiplier(_gasMultiplier: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
setKeep3r(_keep3r: string, overrides?: CallOverrides): Promise<void>; | ||
setKeep3rHelper(_keep3rHelper: string, overrides?: CallOverrides): Promise<void>; | ||
setKeep3rRequirements(_bond: string, _minBond: BigNumberish, _earned: BigNumberish, _age: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
@@ -393,17 +497,29 @@ setNetwork(_network: BytesLike, overrides?: CallOverrides): Promise<void>; | ||
setPendingGovernor(_pendingGovernor: string, overrides?: CallOverrides): Promise<void>; | ||
setQuoteToken(_quoteToken: string, overrides?: CallOverrides): Promise<void>; | ||
setSequencerAddress(_sequencer: string, overrides?: CallOverrides): Promise<void>; | ||
setTokenWETHPool(_tokenWETHPool: string, overrides?: CallOverrides): Promise<void>; | ||
setTwapTime(_twapTime: BigNumberish, overrides?: CallOverrides): Promise<void>; | ||
tokenWETHPool(overrides?: CallOverrides): Promise<string>; | ||
twapTime(overrides?: CallOverrides): Promise<number>; | ||
work(_job: string, _data: BytesLike, overrides?: CallOverrides): Promise<void>; | ||
workMetered(_job: string, _data: BytesLike, overrides?: CallOverrides): Promise<void>; | ||
}; | ||
filters: { | ||
"BaseTokenAddressSet(address)"(_newBaseToken?: null): BaseTokenAddressSetEventFilter; | ||
BaseTokenAddressSet(_newBaseToken?: null): BaseTokenAddressSetEventFilter; | ||
"BoostSet(uint256)"(_newBoost?: null): BoostSetEventFilter; | ||
BoostSet(_newBoost?: null): BoostSetEventFilter; | ||
"DustSent(address,uint256,address)"(_token?: null, _amount?: null, _to?: null): DustSentEventFilter; | ||
DustSent(_token?: null, _amount?: null, _to?: null): DustSentEventFilter; | ||
"FallbackGasBonusSet(uint256)"(gasBonus?: null): FallbackGasBonusSetEventFilter; | ||
FallbackGasBonusSet(gasBonus?: null): FallbackGasBonusSetEventFilter; | ||
"FallbackTokenAddressSet(address)"(fallbackToken?: null): FallbackTokenAddressSetEventFilter; | ||
FallbackTokenAddressSet(fallbackToken?: null): FallbackTokenAddressSetEventFilter; | ||
"FallbackTokenWETHPoolSet(address)"(fallbackTokenWETHPool?: null): FallbackTokenWETHPoolSetEventFilter; | ||
FallbackTokenWETHPoolSet(fallbackTokenWETHPool?: null): FallbackTokenWETHPoolSetEventFilter; | ||
"GasBonusSet(uint256)"(gasBonus?: null): GasBonusSetEventFilter; | ||
GasBonusSet(gasBonus?: null): GasBonusSetEventFilter; | ||
"GasMaximumSet(uint256)"(gasMaximum?: null): GasMaximumSetEventFilter; | ||
GasMaximumSet(gasMaximum?: null): GasMaximumSetEventFilter; | ||
"GasMetered(uint256,uint256,uint256)"(initialGas?: null, gasAfterWork?: null, bonus?: null): GasMeteredEventFilter; | ||
GasMetered(initialGas?: null, gasAfterWork?: null, bonus?: null): GasMeteredEventFilter; | ||
"GasMultiplierSet(uint256)"(gasMultiplier?: null): GasMultiplierSetEventFilter; | ||
GasMultiplierSet(gasMultiplier?: null): GasMultiplierSetEventFilter; | ||
"JobWorked(address)"(_job?: null): JobWorkedEventFilter; | ||
JobWorked(_job?: null): JobWorkedEventFilter; | ||
"Keep3rHelperSet(address)"(keep3rHelper?: null): Keep3rHelperSetEventFilter; | ||
Keep3rHelperSet(keep3rHelper?: null): Keep3rHelperSetEventFilter; | ||
"Keep3rRequirementsSet(address,uint256,uint256,uint256)"(_bond?: null, _minBond?: null, _earned?: null, _age?: null): Keep3rRequirementsSetEventFilter; | ||
@@ -421,26 +537,26 @@ Keep3rRequirementsSet(_bond?: null, _minBond?: null, _earned?: null, _age?: null): Keep3rRequirementsSetEventFilter; | ||
PendingGovernorSet(_governor?: null, _pendingGovernor?: null): PendingGovernorSetEventFilter; | ||
"QuoteTokenAddressSet(address)"(_newQuoteToken?: null): QuoteTokenAddressSetEventFilter; | ||
QuoteTokenAddressSet(_newQuoteToken?: null): QuoteTokenAddressSetEventFilter; | ||
"SequencerAddressSet(address)"(_newSequencerAddress?: null): SequencerAddressSetEventFilter; | ||
SequencerAddressSet(_newSequencerAddress?: null): SequencerAddressSetEventFilter; | ||
"TokenPaymentAddressSet(address)"(_newTokenPaymentAddress?: null): TokenPaymentAddressSetEventFilter; | ||
TokenPaymentAddressSet(_newTokenPaymentAddress?: null): TokenPaymentAddressSetEventFilter; | ||
"TokenWETHPoolAddressSet(address)"(_newTokenWETHPool?: null): TokenWETHPoolAddressSetEventFilter; | ||
TokenWETHPoolAddressSet(_newTokenWETHPool?: null): TokenWETHPoolAddressSetEventFilter; | ||
"TwapTimeSet(uint256)"(_twapTime?: null): TwapTimeSetEventFilter; | ||
TwapTimeSet(_twapTime?: null): TwapTimeSetEventFilter; | ||
"TwapTimeSet(uint256)"(twapTime?: null): TwapTimeSetEventFilter; | ||
TwapTimeSet(twapTime?: null): TwapTimeSetEventFilter; | ||
}; | ||
estimateGas: { | ||
BASE(overrides?: CallOverrides): Promise<BigNumber>; | ||
ETH_ADDRESS(overrides?: CallOverrides): Promise<BigNumber>; | ||
WETH(overrides?: CallOverrides): Promise<BigNumber>; | ||
acceptPendingGovernor(overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
baseToken(overrides?: CallOverrides): Promise<BigNumber>; | ||
boost(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackGasBonus(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackToken(overrides?: CallOverrides): Promise<BigNumber>; | ||
fallbackTokenWETHPool(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasBonus(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasMaximum(overrides?: CallOverrides): Promise<BigNumber>; | ||
gasMultiplier(overrides?: CallOverrides): Promise<BigNumber>; | ||
governor(overrides?: CallOverrides): Promise<BigNumber>; | ||
keep3r(overrides?: CallOverrides): Promise<BigNumber>; | ||
keep3rHelper(overrides?: CallOverrides): Promise<BigNumber>; | ||
network(overrides?: CallOverrides): Promise<BigNumber>; | ||
paused(overrides?: CallOverrides): Promise<BigNumber>; | ||
pendingGovernor(overrides?: CallOverrides): Promise<BigNumber>; | ||
quoteToken(overrides?: CallOverrides): Promise<BigNumber>; | ||
requiredAge(overrides?: CallOverrides): Promise<BigNumber>; | ||
@@ -454,11 +570,26 @@ requiredBond(overrides?: CallOverrides): Promise<BigNumber>; | ||
sequencer(overrides?: CallOverrides): Promise<BigNumber>; | ||
setBaseToken(_baseToken: string, overrides?: Overrides & { | ||
setFallbackGasBonus(_fallbackGasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setBoost(_boost: BigNumberish, overrides?: Overrides & { | ||
setFallbackToken(_fallbackToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setFallbackTokenWETHPool(_fallbackTokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setGasBonus(_gasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setGasMaximum(_gasMaximum: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setGasMultiplier(_gasMultiplier: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setKeep3r(_keep3r: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setKeep3rHelper(_keep3rHelper: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setKeep3rRequirements(_bond: string, _minBond: BigNumberish, _earned: BigNumberish, _age: BigNumberish, overrides?: Overrides & { | ||
@@ -476,15 +607,8 @@ from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setQuoteToken(_quoteToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setSequencerAddress(_sequencer: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setTokenWETHPool(_tokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
setTwapTime(_twapTime: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
tokenWETHPool(overrides?: CallOverrides): Promise<BigNumber>; | ||
twapTime(overrides?: CallOverrides): Promise<BigNumber>; | ||
@@ -494,16 +618,25 @@ work(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
}): Promise<BigNumber>; | ||
workMetered(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<BigNumber>; | ||
}; | ||
populateTransaction: { | ||
BASE(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
ETH_ADDRESS(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
WETH(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
acceptPendingGovernor(overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
baseToken(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
boost(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
fallbackGasBonus(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
fallbackToken(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
fallbackTokenWETHPool(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
gasBonus(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
gasMaximum(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
gasMultiplier(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
governor(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
keep3r(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
keep3rHelper(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
network(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
paused(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
pendingGovernor(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
quoteToken(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
requiredAge(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
@@ -517,11 +650,26 @@ requiredBond(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
sequencer(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
setBaseToken(_baseToken: string, overrides?: Overrides & { | ||
setFallbackGasBonus(_fallbackGasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setBoost(_boost: BigNumberish, overrides?: Overrides & { | ||
setFallbackToken(_fallbackToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setFallbackTokenWETHPool(_fallbackTokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setGasBonus(_gasBonus: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setGasMaximum(_gasMaximum: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setGasMultiplier(_gasMultiplier: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setKeep3r(_keep3r: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setKeep3rHelper(_keep3rHelper: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setKeep3rRequirements(_bond: string, _minBond: BigNumberish, _earned: BigNumberish, _age: BigNumberish, overrides?: Overrides & { | ||
@@ -539,15 +687,8 @@ from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setQuoteToken(_quoteToken: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setSequencerAddress(_sequencer: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setTokenWETHPool(_tokenWETHPool: string, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
setTwapTime(_twapTime: BigNumberish, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
tokenWETHPool(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
twapTime(overrides?: CallOverrides): Promise<PopulatedTransaction>; | ||
@@ -557,3 +698,6 @@ work(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
}): Promise<PopulatedTransaction>; | ||
workMetered(_job: string, _data: BytesLike, overrides?: Overrides & { | ||
from?: string | Promise<string>; | ||
}): Promise<PopulatedTransaction>; | ||
}; | ||
} |
@@ -11,2 +11,3 @@ "use strict"; | ||
const getWorkableTxs = async (args) => { | ||
var _a, _b, _c, _d; | ||
const logMetadata = { | ||
@@ -38,7 +39,26 @@ job: metadata_json_1.default.name, | ||
try { | ||
const tx = await job.populateTransaction.work(workableJob.job, workableJob.args, { | ||
nonce: args.keeperNonce, | ||
gasLimit: 5000000, | ||
type: 2, | ||
}); | ||
let tx; | ||
try { | ||
await job.connect(args.keeperAddress).callStatic.workMetered(workableJob.job, workableJob.args, { | ||
blockTag: args.advancedBlock, | ||
}); | ||
tx = await job.populateTransaction.workMetered(workableJob.job, workableJob.args, { | ||
nonce: args.keeperNonce, | ||
gasLimit: 5000000, | ||
type: 2, | ||
}); | ||
} | ||
catch (err) { | ||
if (((_d = (_c = (_b = (_a = err) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.error) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.reason) === 'GasMeteredMaximum') { | ||
jobConsole.log(`Fallbacking to work`); | ||
tx = await job.populateTransaction.work(workableJob.job, workableJob.args, { | ||
nonce: args.keeperNonce, | ||
gasLimit: 5000000, | ||
type: 2, | ||
}); | ||
} | ||
else { | ||
throw err; | ||
} | ||
} | ||
const workableGroups = new Array(args.bundleBurst).fill(null).map((_, index) => ({ | ||
@@ -45,0 +65,0 @@ targetBlock: args.targetBlock + index, |
{ | ||
"name": "@defi-wonderland/keep3r-cli-job-maker", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "MakerDAO CLI Job for The Keep3r Network", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
223321
5409