PeriodicPayment class

PeriodicPayment contract enables creating an account which allows the withdrawal of a fixed amount of assets every fixed number of rounds to a specific Algrorand Address. In addition, the contract allows to add an expiryRound, after which the address can withdraw the rest of the assets.

Constructors

PeriodicPayment()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create({required Address receiver, required int amount, required int withdrawingWindow, required int period, required int fee, required int expiryRound, String? lease}) ContractTemplate
Create a new Periodic Payment.
getWithdrawalTransaction({required ContractTemplate contract, required int firstValid, required String genesisHash, required int feePerByte}) Future<SignedTransaction>
Return the withdrawal transaction to be sent to the network.

Constants

referenceProgram → const String