rollupAdminLogicReadContract
Type Aliases
RollupAdminLogicAbi
type RollupAdminLogicAbi: typeof rollupAdminLogicABI;
Source
src/rollupAdminLogicReadContract.ts:15
RollupAdminLogicFunctionName
type RollupAdminLogicFunctionName: GetFunctionName<RollupAdminLogicAbi>;
Source
src/rollupAdminLogicReadContract.ts:16
RollupAdminLogicReadContractParameters<TFunctionName>
type RollupAdminLogicReadContractParameters<TFunctionName>: object & GetFunctionArgs<RollupAdminLogicAbi, TFunctionName>;
Type declaration
Member | Type |
---|---|
functionName | TFunctionName |
rollup | Address |
Type parameters
Type parameter |
---|
TFunctionName extends RollupAdminLogicFunctionName |
Source
src/rollupAdminLogicReadContract.ts:18
RollupAdminLogicReadContractReturnType<TFunctionName>
type RollupAdminLogicReadContractReturnType<TFunctionName>: ReadContractReturnType<RollupAdminLogicAbi, TFunctionName>;
Type parameters
Type parameter |
---|
TFunctionName extends RollupAdminLogicFunctionName |
Source
src/rollupAdminLogicReadContract.ts:25
Functions
rollupAdminLogicReadContract()
function rollupAdminLogicReadContract<TChain, TFunctionName>(client: object, params: RollupAdminLogicReadContractParameters<TFunctionName>): Promise<RollupAdminLogicReadContractReturnType<TFunctionName>>
Type parameters
Type parameter |
---|
TChain extends undefined | Chain <undefined | ChainFormatters > |
TFunctionName extends |
| "chainId" |
| "outbox" |
| "rollupEventInbox" |
| "challengeManager" |
| "sequencerInbox" |
| "bridge" |
| "validatorUtils" |
| "validatorWalletCreator" |
| "confirmPeriodBlocks" |
| "extraChallengeTimeBlocks" |
| "stakeToken" |
| "baseStake" |
| "wasmModuleRoot" |
| "loserStakeEscrow" |
| "inbox" |
| "initialize" |
| "_stakerMap" |
| "amountStaked" |
| "latestStakedNode" |
| "currentChallenge" |
| "isStaked" |
| "createNitroMigrationGenesis" |
| "firstUnresolvedNode" |
| "forceConfirmNode" |
| "forceCreateNode" |
| "forceRefundStaker" |
| "forceResolveChallenge" |
| "getNode" |
| "stakerCount" |
| "getNodeCreationBlockForLogLookup" |
| "getStaker" |
| "getStakerAddress" |
| "isStakedOnLatestConfirmed" |
| "isValidator" |
| "isZombie" |
| "lastStakeBlock" |
| "latestConfirmed" |
| "latestNodeCreated" |
| "minimumAssertionPeriod" |
| "nodeHasStaker" |
| "pause" |
| "paused" |
| "proxiableUUID" |
| "removeOldOutbox" |
| "resume" |
| "rollupDeploymentBlock" |
| "setBaseStake" |
| "setConfirmPeriodBlocks" |
| "setDelayedInbox" |
| "setExtraChallengeTimeBlocks" |
| "setInbox" |
| "setLoserStakeEscrow" |
| "setMinimumAssertionPeriod" |
| "setOutbox" |
| "setOwner" |
| "setSequencerInbox" |
| "setStakeToken" |
| "setValidator" |
| "setValidatorWhitelistDisabled" |
| "setWasmModuleRoot" |
| "totalWithdrawableFunds" |
| "upgradeBeacon" |
| "upgradeSecondaryTo" |
| "upgradeSecondaryToAndCall" |
| "upgradeTo" |
| "upgradeToAndCall" |
| "validatorWhitelistDisabled" |
| "withdrawableFunds" |
| "zombieAddress" |
| "zombieCount" |
| "zombieLatestStakedNode" |
Parameters
Parameter | Type |
---|---|
client | object |
params | RollupAdminLogicReadContractParameters <TFunctionName > |
Returns
Promise
<RollupAdminLogicReadContractReturnType
<TFunctionName
>>