Returns the desired Operation based on shouldUseCallAgreement.
Returns the desired Operation based on shouldUseCallAgreement.
the host.callAgreement created Operation
Optional
forwarderPopulatedTransactionPromise: Promise<PopulatedTransaction>the populated forwarder transaction promise
Optional
shouldUseCallAgreement: booleanwhether or not to use host.callAgreement
whether or not to use host.callAgreement
the host.callAgreement created Operation
the populated forwarder transaction promise
Approves a Subscription, so the Subscriber won't need to claim tokens when the Publisher distributes.
Approves a Subscription, so the Subscriber won't need to claim tokens when the Publisher distributes.
An instance of Operation which can be executed or batched.
The id of the index.
The superToken of the index.
The publisher of the index you want to approve.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
An instance of Operation which can be executed or batched.
Claims any pending tokens allocated to the Subscription (unapproved).
Claims any pending tokens allocated to the Subscription (unapproved).
An instance of Operation which can be executed or batched.
The id of the index.
The superToken of the index.
The subscriber address whose subscription you want to delete.
The publisher address of the index you are targeting.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
An instance of Operation which can be executed or batched.
Readonly
contractCreates an IDA Index.
Creates an IDA Index.
An instance of Operation which can be executed or batched.
The id of the index.
The address of the index
superToken.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
An instance of Operation which can be executed or batched.
Deletes a Subscription by setting the units
allocated to the Subscriber to 0.
Deletes a Subscription by setting the units
allocated to the Subscriber to 0.
An instance of Operation which can be executed or batched.
The id of the index.
The superToken of the index.
The subscriber address whose subscription you want to delete.
The publisher address of the index you are targeting.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
An instance of Operation which can be executed or batched.
Distributes amount
of superToken
to an index
Distributes amount
of superToken
to an index
An instance of Operation which can be executed or batched.
The id of the index.
The amount of superToken
to be distributed.
The superToken to be distributed.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
An instance of Operation which can be executed or batched.
Get the details of an Index
.
Get the details of an Index
.
Web3 Index object
the superToken of the agreement
the address of the publisher of the index
the index id
a provider or signer object
Web3 Index object
Get the details of a Subscription
.
Get the details of a Subscription
.
Web3 Subscription object
the superToken of the agreement
the address of the publisher of the index
the index id
the subscriber's address
a provider or signer object
Web3 Subscription object
Readonly
hostRevokes a Subscription, so the Subscriber will need to claim tokens when the Publisher distributes.
Revokes a Subscription, so the Subscriber will need to claim tokens when the Publisher distributes.
An instance of Operation which can be executed or batched.
The id of the index.
The superToken of the index.
The subscriber address whose subscription you want to revoke.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
An instance of Operation which can be executed or batched.
Updates the indexValue
of an index.
Updates the indexValue
of an index.
An instance of Operation which can be executed or batched.
NOTE: It has the same effect as distribute
, but is closer to the low level data structure of the index.
NOTE: It has the same effect as distribute
, but is closer to the low level data structure of the index.
The id of the index.
The new indexValue.
The superToken to be distributed.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
An instance of Operation which can be executed or batched.
Updates the units
allocated to a Subscription.
Updates the units
allocated to a Subscription.
An instance of Operation which can be executed or batched.
The id of the index.
The superToken of the index.
The subscriber address whose units you want to update.
The amount of units you want to update to.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
An instance of Operation which can be executed or batched.
Generated using TypeDoc
Instant Distribution Agreement V1 Helper Class
Description
A helper class to interact with the IDAV1 contract.