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
Sanitizes flow info, converting BigNumber to string.
Sanitizes flow info, converting BigNumber to string.
sanitized web3 flow info
last updated timestamp of flow
the current flow rate
the deposit amount
any owed deposit
sanitized web3 flow info
Sanitizes flow operator data, converting BigNumber to string.
Sanitizes flow operator data, converting BigNumber to string.
sanitized web3 flow info
The keccak256 hash of encoded string "flowOperator", sender and flowOperator
the permissions
the flow rate allowance granted to the flow operator
sanitized web3 flow info
Readonly
contractCreate a flow.
Create a flow.
An instance of Operation which can be executed or batched.
The specified flow rate.
The sender of the flow
The receiver of the flow.
The token to be flowed.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
Whether to use callAgreement, or the CFAv1Forwarder
An instance of Operation which can be executed or batched.
Create a flow as an operator
Create a flow as an operator
An instance of Operation which can be executed or batched.
The specified flow rate.
The sender of the flow.
The receiver of the flow.
The token to be flowed.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
An instance of Operation which can be executed or batched.
Delete a flow.
Delete a flow.
An instance of Operation which can be executed or batched.
The token to be flowed.
The sender of the flow.
The receiver of the flow.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
An instance of Operation which can be executed or batched.
Delete a flow as an operator.
Delete a flow as an operator.
An instance of Operation which can be executed or batched.
The sender of the flow.
The receiver of the flow.
The token to be flowed.
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
forwarderGet the flow info of an account (net flow).
Get the flow info of an account (net flow).
Web3 Flow info object
the superToken of the agreement
the account we're querying
a provider or signer object
Web3 Flow info object
Get the details of a flow.
Get the details of a flow.
Web3 Flow info object
the superToken of the agreement
the sender of the flow
the receiver of the flow
a provider or signer object
Web3 Flow info object
Get flow operator data.
Get flow operator data.
Web3 Flow info object
the superToken of the agreement
the sender
the flowOperator
a provider or signer object
Web3 Flow info object
Get flow operator data using the flowOperatorId.
Get flow operator data using the flowOperatorId.
Web3 Flow info object
the superToken of the agreement
The keccak256 hash of encoded string "flowOperator", sender and flowOperator
a provider or signer object
Web3 Flow info object
Get the net flow of an account.
Get the net flow of an account.
Web3 Flow info object
the superToken of the agreement
the account we're querying
a provider or signer object
Web3 Flow info object
Readonly
hostUpdate a flow.
Update a flow.
An instance of Operation which can be executed or batched.
The specified flow rate.
The sender of the flow
The receiver of the flow.
The token to be flowed.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
An instance of Operation which can be executed or batched.
Update a flow as an operator.
Update a flow as an operator.
An instance of Operation which can be executed or batched.
The specified flow rate.
The sender of the flow.
The receiver of the flow.
The token to be flowed.
Extra user data provided.
ethers overrides object for more control over the transaction sent.
An instance of Operation which can be executed or batched.
Give flow operator full control - max flow rate and create/update/delete permissions.
Decrease the flow rate allowance for an ACL operator.
An instance of Operation which can be executed or batched.
Increase the flow rate allowance for an ACL operator.
An instance of Operation which can be executed or batched.
Revoke flow operator control - set flow rate to 0 with no permissions.
Generated using TypeDoc
Constant Flow Agreement V1 Helper Class
Description
A helper class to interact with the CFAV1 contract.