Ledger class
Constructors
- Ledger()
- Ledger.hook(AgentFactory agent)
- 
          
            factory
Properties
- agent ↔ AgentFactory
- 
  
  getter/setter pair
- 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
- 
  setAgent(AgentFactory agent) → void 
- 
  setIdentity(SignIdentity? id) → void 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
Static Methods
- 
  accountBalance({required AgentFactory agent, required String accountIdOrPrincipal, SignIdentity? identity}) → Future< Tokens> 
- 
  getBalance({required AgentFactory agent, required String accountId, SignIdentity? identity}) → Future< ICPTs> 
- 
  send({required AgentFactory agent, required String to, required BigInt amount, SendOpts? sendOpts, SignIdentity? identity}) → Future< BigInt> 
- 
  transfer({required AgentFactory agent, required String to, required BigInt amount, SendOpts? sendOpts, SignIdentity? identity}) → Future< TransferResult>