Returns the Caller
contract address to which the client is connected.
Returns the client's provider
.
Returns the client's signer
.
The signer
is the provider
's signer.
Executes a batch of calls.
Reverts if any of the calls reverts or any of the called addresses is not a contract.
Important:
If the called contract is Caller
-aware and trusts that instance of Caller
(e.g., the official Drips Drivers contracts)
the msg.sender
will be set to the address of the wallet which called the Caller
.
If not, msg.sender
will be set to the address of the Caller
.
The calls to perform.
A Promise
which resolves to the contract transaction.
Executes a batch of calls.
Reverts if any of the calls reverts or any of the called addresses is not a contract.
Important:
If the called contract is Caller
-aware and trusts that instance of Caller
(e.g., the official Drips Drivers contracts)
the msg.sender
will be set to the address of the wallet which called the Caller
.
If not, msg.sender
will be set to the address of the Caller
.
The calls to perform.
A Promise
which resolves to the contract transaction.
Executes a batch of calls.
Reverts if any of the calls reverts or any of the called addresses is not a contract.
Important:
If the called contract is Caller
-aware and trusts that instance of Caller
(e.g., the official Drips Drivers contracts)
the msg.sender
will be set to the address of the wallet which called the Caller
.
If not, msg.sender
will be set to the address of the Caller
.
The calls to perform.
A Promise
which resolves to the contract transaction.
Creates a new immutable CallerClient
instance.
The network provider. It cannot be changed after creation.
The provider
must be connected to one of the following supported networks:
1
5
80001
The singer used to sign transactions. It cannot be changed after creation.
Important: If the signer
is not connected to a provider it will try to connect to the provider
, else it will use the signer.provider
.
Overrides the NFTDriver
contract address.
If it's undefined
(default value), the address will be automatically selected based on the provider
's network.
A Promise
which resolves to the new client instance.
Generated using TypeDoc
A generic call executor that increases the flexibility of other contracts' APIs.
Caller contract.