Skip to main content

NodeWallet

@node-fi/sdk-core / Exports / NodeWallet

Interface: NodeWallet

Hierarchy

  • BaseContract

    NodeWallet

Table of contents

Properties

Methods

Properties

_deployedPromise

_deployedPromise: Promise<Contract>

Inherited from

BaseContract._deployedPromise

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:100


_runningEvents

_runningEvents: Object

Index signature

[eventTag: string]: RunningEvent

Inherited from

BaseContract._runningEvents

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:101


_wrappedEmits

_wrappedEmits: Object

Index signature

[eventTag: string]: (...args: any[]) => void

Inherited from

BaseContract._wrappedEmits

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:104


address

Readonly address: string

Inherited from

BaseContract.address

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:79


callStatic

callStatic: Object

Type declaration

NameType
ADMIN(overrides?: CallOverrides) => Promise<string>
BENEFICIARY(overrides?: CallOverrides) => Promise<string>
CONNECTOR(overrides?: CallOverrides) => Promise<string>
DEFAULT_ADMIN_ROLE(overrides?: CallOverrides) => Promise<string>
GUARDIAN(overrides?: CallOverrides) => Promise<string>
OWNER(overrides?: CallOverrides) => Promise<string>
approve(_token: PromiseOrValue<string>, _target: PromiseOrValue<string>, _amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides) => Promise<void>
callContractWithSelector(_target: PromiseOrValue<string>, _method: PromiseOrValue<BytesLike>, data: PromiseOrValue<BytesLike>, overrides?: CallOverrides) => Promise<boolean>
execute(_target: PromiseOrValue<string>, _data: PromiseOrValue<BytesLike>, overrides?: CallOverrides) => Promise<boolean>
executeMany(_targets: PromiseOrValue<string>[], _callData: PromiseOrValue<BytesLike>[], overrides?: CallOverrides) => Promise<void>
getRoleAdmin(role: PromiseOrValue<BytesLike>, overrides?: CallOverrides) => Promise<string>
grantRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<void>
hasRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<boolean>
renounceRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<void>
revokeRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<void>
supportsInterface(interfaceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides) => Promise<boolean>

Overrides

BaseContract.callStatic

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:403


deployTransaction

Readonly deployTransaction: TransactionResponse

Inherited from

BaseContract.deployTransaction

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:99


estimateGas

estimateGas: Object

Type declaration

NameType
ADMIN(overrides?: CallOverrides) => Promise<BigNumber>
BENEFICIARY(overrides?: CallOverrides) => Promise<BigNumber>
CONNECTOR(overrides?: CallOverrides) => Promise<BigNumber>
DEFAULT_ADMIN_ROLE(overrides?: CallOverrides) => Promise<BigNumber>
GUARDIAN(overrides?: CallOverrides) => Promise<BigNumber>
OWNER(overrides?: CallOverrides) => Promise<BigNumber>
approve(_token: PromiseOrValue<string>, _target: PromiseOrValue<string>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<BigNumber>
callContractWithSelector(_target: PromiseOrValue<string>, _method: PromiseOrValue<BytesLike>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<BigNumber>
execute(_target: PromiseOrValue<string>, _data: PromiseOrValue<BytesLike>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<BigNumber>
executeMany(_targets: PromiseOrValue<string>[], _callData: PromiseOrValue<BytesLike>[], overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<BigNumber>
getRoleAdmin(role: PromiseOrValue<BytesLike>, overrides?: CallOverrides) => Promise<BigNumber>
grantRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<BigNumber>
hasRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<BigNumber>
renounceRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<BigNumber>
revokeRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<BigNumber>
supportsInterface(interfaceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides) => Promise<BigNumber>

Overrides

BaseContract.estimateGas

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:523


filters

filters: Object

Type declaration

NameType
ContractCalled(target?: null, data?: null, caller?: null) => ContractCalledEventFilter
ContractCalled(address,bytes,address)(target?: null, data?: null, caller?: null) => ContractCalledEventFilter
RoleAdminChanged(role?: null | PromiseOrValue<BytesLike>, previousAdminRole?: null | PromiseOrValue<BytesLike>, newAdminRole?: null | PromiseOrValue<BytesLike>) => RoleAdminChangedEventFilter
RoleAdminChanged(bytes32,bytes32,bytes32)(role?: null | PromiseOrValue<BytesLike>, previousAdminRole?: null | PromiseOrValue<BytesLike>, newAdminRole?: null | PromiseOrValue<BytesLike>) => RoleAdminChangedEventFilter
RoleGranted(role?: null | PromiseOrValue<BytesLike>, account?: null | PromiseOrValue<string>, sender?: null | PromiseOrValue<string>) => RoleGrantedEventFilter
RoleGranted(bytes32,address,address)(role?: null | PromiseOrValue<BytesLike>, account?: null | PromiseOrValue<string>, sender?: null | PromiseOrValue<string>) => RoleGrantedEventFilter
RoleRevoked(role?: null | PromiseOrValue<BytesLike>, account?: null | PromiseOrValue<string>, sender?: null | PromiseOrValue<string>) => RoleRevokedEventFilter
RoleRevoked(bytes32,address,address)(role?: null | PromiseOrValue<BytesLike>, account?: null | PromiseOrValue<string>, sender?: null | PromiseOrValue<string>) => RoleRevokedEventFilter

Overrides

BaseContract.filters

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:477


functions

functions: Object

Type declaration

NameType
ADMIN(overrides?: CallOverrides) => Promise<[string]>
BENEFICIARY(overrides?: CallOverrides) => Promise<[string]>
CONNECTOR(overrides?: CallOverrides) => Promise<[string]>
DEFAULT_ADMIN_ROLE(overrides?: CallOverrides) => Promise<[string]>
GUARDIAN(overrides?: CallOverrides) => Promise<[string]>
OWNER(overrides?: CallOverrides) => Promise<[string]>
approve(_token: PromiseOrValue<string>, _target: PromiseOrValue<string>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<ContractTransaction>
callContractWithSelector(_target: PromiseOrValue<string>, _method: PromiseOrValue<BytesLike>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<ContractTransaction>
execute(_target: PromiseOrValue<string>, _data: PromiseOrValue<BytesLike>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<ContractTransaction>
executeMany(_targets: PromiseOrValue<string>[], _callData: PromiseOrValue<BytesLike>[], overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<ContractTransaction>
getRoleAdmin(role: PromiseOrValue<BytesLike>, overrides?: CallOverrides) => Promise<[string]>
grantRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<ContractTransaction>
hasRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<[boolean]>
renounceRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<ContractTransaction>
revokeRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<ContractTransaction>
supportsInterface(interfaceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides) => Promise<[boolean]>

Overrides

BaseContract.functions

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:257


interface

interface: NodeWalletInterface

Overrides

BaseContract.interface

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:236


off

off: OnEvent<NodeWallet>

Overrides

BaseContract.off

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:252


on

on: OnEvent<NodeWallet>

Overrides

BaseContract.on

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:253


once

once: OnEvent<NodeWallet>

Overrides

BaseContract.once

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:254


populateTransaction

populateTransaction: Object

Type declaration

NameType
ADMIN(overrides?: CallOverrides) => Promise<PopulatedTransaction>
BENEFICIARY(overrides?: CallOverrides) => Promise<PopulatedTransaction>
CONNECTOR(overrides?: CallOverrides) => Promise<PopulatedTransaction>
DEFAULT_ADMIN_ROLE(overrides?: CallOverrides) => Promise<PopulatedTransaction>
GUARDIAN(overrides?: CallOverrides) => Promise<PopulatedTransaction>
OWNER(overrides?: CallOverrides) => Promise<PopulatedTransaction>
approve(_token: PromiseOrValue<string>, _target: PromiseOrValue<string>, _amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<PopulatedTransaction>
callContractWithSelector(_target: PromiseOrValue<string>, _method: PromiseOrValue<BytesLike>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<PopulatedTransaction>
execute(_target: PromiseOrValue<string>, _data: PromiseOrValue<BytesLike>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<PopulatedTransaction>
executeMany(_targets: PromiseOrValue<string>[], _callData: PromiseOrValue<BytesLike>[], overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<PopulatedTransaction>
getRoleAdmin(role: PromiseOrValue<BytesLike>, overrides?: CallOverrides) => Promise<PopulatedTransaction>
grantRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<PopulatedTransaction>
hasRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: CallOverrides) => Promise<PopulatedTransaction>
renounceRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<PopulatedTransaction>
revokeRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }) => Promise<PopulatedTransaction>
supportsInterface(interfaceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides) => Promise<PopulatedTransaction>

Overrides

BaseContract.populateTransaction

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:597


provider

Readonly provider: Provider

Inherited from

BaseContract.provider

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:82


removeListener

removeListener: OnEvent<NodeWallet>

Overrides

BaseContract.removeListener

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:255


resolvedAddress

Readonly resolvedAddress: Promise<string>

Inherited from

BaseContract.resolvedAddress

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:98


signer

Readonly signer: Signer

Inherited from

BaseContract.signer

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:81

Methods

ADMIN

ADMIN(overrides?): Promise<string>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:331


BENEFICIARY

BENEFICIARY(overrides?): Promise<string>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:333


CONNECTOR

CONNECTOR(overrides?): Promise<string>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:335


DEFAULT_ADMIN_ROLE

DEFAULT_ADMIN_ROLE(overrides?): Promise<string>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:337


GUARDIAN

GUARDIAN(overrides?): Promise<string>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:339


OWNER

OWNER(overrides?): Promise<string>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<string>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:341


_checkRunningEvents

_checkRunningEvents(runningEvent): void

Parameters

NameType
runningEventRunningEvent

Returns

void

Inherited from

BaseContract._checkRunningEvents

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:121


_deployed

_deployed(blockTag?): Promise<Contract>

Parameters

NameType
blockTag?BlockTag

Returns

Promise<Contract>

Inherited from

BaseContract._deployed

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:114


_wrapEvent

_wrapEvent(runningEvent, log, listener): Event

Parameters

NameType
runningEventRunningEvent
logLog
listenerListener

Returns

Event

Inherited from

BaseContract._wrapEvent

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:122


approve

approve(_token, _target, _amount, overrides?): Promise<ContractTransaction>

Parameters

NameType
_tokenPromiseOrValue<string>
_targetPromiseOrValue<string>
_amountPromiseOrValue<BigNumberish>
overrides?Overrides & { from?: PromiseOrValue<string> }

Returns

Promise<ContractTransaction>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:343


attach

attach(addressOrName): NodeWallet

Parameters

NameType
addressOrNamestring

Returns

NodeWallet

Overrides

BaseContract.attach

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:233


callContractWithSelector

callContractWithSelector(_target, _method, data, overrides?): Promise<ContractTransaction>

Parameters

NameType
_targetPromiseOrValue<string>
_methodPromiseOrValue<BytesLike>
dataPromiseOrValue<BytesLike>
overrides?Overrides & { from?: PromiseOrValue<string> }

Returns

Promise<ContractTransaction>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:350


connect

connect(signerOrProvider): NodeWallet

Parameters

NameType
signerOrProviderstring | Signer | Provider

Returns

NodeWallet

Overrides

BaseContract.connect

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:232


deployed

deployed(): Promise<NodeWallet>

Returns

Promise<NodeWallet>

Overrides

BaseContract.deployed

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:234


emit

emit(eventName, ...args): boolean

Parameters

NameType
eventNamestring | EventFilter
...argsany[]

Returns

boolean

Inherited from

BaseContract.emit

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:127


execute

execute(_target, _data, overrides?): Promise<ContractTransaction>

Parameters

NameType
_targetPromiseOrValue<string>
_dataPromiseOrValue<BytesLike>
overrides?Overrides & { from?: PromiseOrValue<string> }

Returns

Promise<ContractTransaction>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:357


executeMany

executeMany(_targets, _callData, overrides?): Promise<ContractTransaction>

Parameters

NameType
_targetsPromiseOrValue<string>[]
_callDataPromiseOrValue<BytesLike>[]
overrides?Overrides & { from?: PromiseOrValue<string> }

Returns

Promise<ContractTransaction>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:363


fallback

fallback(overrides?): Promise<TransactionResponse>

Parameters

NameType
overrides?TransactionRequest

Returns

Promise<TransactionResponse>

Inherited from

BaseContract.fallback

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:115


getRoleAdmin

getRoleAdmin(role, overrides?): Promise<string>

Parameters

NameType
rolePromiseOrValue<BytesLike>
overrides?CallOverrides

Returns

Promise<string>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:369


grantRole

grantRole(role, account, overrides?): Promise<ContractTransaction>

Parameters

NameType
rolePromiseOrValue<BytesLike>
accountPromiseOrValue<string>
overrides?Overrides & { from?: PromiseOrValue<string> }

Returns

Promise<ContractTransaction>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:374


hasRole

hasRole(role, account, overrides?): Promise<boolean>

Parameters

NameType
rolePromiseOrValue<BytesLike>
accountPromiseOrValue<string>
overrides?CallOverrides

Returns

Promise<boolean>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:380


listenerCount

listenerCount(eventName?): number

Parameters

NameType
eventName?string | EventFilter

Returns

number

Inherited from

BaseContract.listenerCount

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:128


listeners

listeners<TEvent>(eventFilter?): TypedListener<TEvent>[]

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilter?TypedEventFilter<TEvent>

Returns

TypedListener<TEvent>[]

Overrides

BaseContract.listeners

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:244

listeners(eventName?): Listener[]

Parameters

NameType
eventName?string

Returns

Listener[]

Overrides

BaseContract.listeners

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:247


queryFilter

queryFilter<TEvent>(event, fromBlockOrBlockhash?, toBlock?): Promise<TEvent[]>

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventTypedEventFilter<TEvent>
fromBlockOrBlockhash?string | number
toBlock?string | number

Returns

Promise<TEvent[]>

Overrides

BaseContract.queryFilter

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:238


removeAllListeners

removeAllListeners<TEvent>(eventFilter): NodeWallet

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilterTypedEventFilter<TEvent>

Returns

NodeWallet

Overrides

BaseContract.removeAllListeners

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:248

removeAllListeners(eventName?): NodeWallet

Parameters

NameType
eventName?string

Returns

NodeWallet

Overrides

BaseContract.removeAllListeners

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:251


renounceRole

renounceRole(role, account, overrides?): Promise<ContractTransaction>

Parameters

NameType
rolePromiseOrValue<BytesLike>
accountPromiseOrValue<string>
overrides?Overrides & { from?: PromiseOrValue<string> }

Returns

Promise<ContractTransaction>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:386


revokeRole

revokeRole(role, account, overrides?): Promise<ContractTransaction>

Parameters

NameType
rolePromiseOrValue<BytesLike>
accountPromiseOrValue<string>
overrides?Overrides & { from?: PromiseOrValue<string> }

Returns

Promise<ContractTransaction>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:392


supportsInterface

supportsInterface(interfaceId, overrides?): Promise<boolean>

Parameters

NameType
interfaceIdPromiseOrValue<BytesLike>
overrides?CallOverrides

Returns

Promise<boolean>

Defined in

packages/sdk-core/src/generated/NodeWallet.ts:398