Class ProxyBase
Assembly: Algorand.dll
Syntax
Constructors
|
Edit this page
View Source
ProxyBase(DefaultApi, ulong)
Declaration
public ProxyBase(DefaultApi algodApi, ulong appId)
Parameters
Properties
|
Edit this page
View Source
App
Declaration
public virtual AppDescriptionArc56 App { get; set; }
Property Value
|
Edit this page
View Source
AppAddress
Declaration
public Address AppAddress { get; }
Property Value
|
Edit this page
View Source
Up to 3 extensions to the program size
Declaration
protected virtual ulong? ExtraProgramPages { get; set; }
Property Value
|
Edit this page
View Source
GlobalNumByteSlices
Number of maximum global byte[] variables
Declaration
protected virtual ulong? GlobalNumByteSlices { get; set; }
Property Value
|
Edit this page
View Source
GlobalNumUints
Number of maximum global uint64 variables
Declaration
protected virtual ulong? GlobalNumUints { get; set; }
Property Value
|
Edit this page
View Source
LastCallLogs
The raw logs (including any ARC-28 event logs) produced by the most recent CallApp/SimApp invocation.
Generated ARC56 clients emit an Events.<Name>Event.Decode(log)/Matches(log) helper per contract
event; callers can filter these logs against those helpers to recover the emitted events.
Declaration
public ICollection<byte[]> LastCallLogs { get; protected set; }
Property Value
|
Edit this page
View Source
LocalNumByteSlices
Number of maximum local byte[] variables
Declaration
protected virtual ulong? LocalNumByteSlices { get; set; }
Property Value
|
Edit this page
View Source
LocalNumUints
Number of maximum local uint64 variables
Declaration
protected virtual ulong? LocalNumUints { get; set; }
Property Value
|
Edit this page
View Source
SourceApproval
Base64 TEAL code of approval program
Declaration
protected virtual string SourceApproval { get; set; }
Property Value
|
Edit this page
View Source
SourceApprovalAVM
Base64 AVM code of approval program
Declaration
protected virtual string SourceApprovalAVM { get; set; }
Property Value
|
Edit this page
View Source
SourceClear
Base64 TEAL code of clear state program
Declaration
protected virtual string SourceClear { get; set; }
Property Value
|
Edit this page
View Source
SourceClearAVM
Base64 AVM code of clear state program
Declaration
protected virtual string SourceClearAVM { get; set; }
Property Value
|
Edit this page
View Source
TransParamsOverride
Developers can set the override for the tx params response, so that when creating new transactions the parameters are not fetched.
When user will request multiple transactions from the client or the user wants to rewrite the tx params, he can supply the tx params here.
Declaration
public TransactionParametersResponse? TransParamsOverride { get; set; }
Property Value
|
Edit this page
View Source
appId
Declaration
public ulong appId { get; protected set; }
Property Value
Methods
|
Edit this page
View Source
CallApp(List<object>, Account, ulong?, string, ulong, List<BoxRef>?, List<Transaction>?, List<ulong>?, List<ulong>?, List<Address>?, OnCompleteType)
Declaration
protected Task<ICollection<byte[]>> CallApp(List<object> args, Account _tx_sender, ulong? _tx_fee, string _tx_note, ulong _tx_roundValidity, List<BoxRef>? _tx_boxes = null, List<Transaction>? _tx_transactions = null, List<ulong>? _tx_assets = null, List<ulong>? _tx_apps = null, List<Address>? _tx_accounts = null, OnCompleteType _tx_callType = OnCompleteType.NoOp)
Parameters
Returns
|
Edit this page
View Source
GetBigIntegerFromByte(byte[])
Declaration
protected BigInteger GetBigIntegerFromByte(byte[] bytes)
Parameters
| Type |
Name |
Description |
| byte[] |
bytes |
|
Returns
|
Edit this page
View Source
GetDecimalFromBytes(byte[])
Declaration
protected decimal GetDecimalFromBytes(byte[] resultBytes)
Parameters
| Type |
Name |
Description |
| byte[] |
resultBytes |
|
Returns
|
Edit this page
View Source
GetGlobalByteSlice(string)
Declaration
protected Task<byte[]> GetGlobalByteSlice(string key)
Parameters
| Type |
Name |
Description |
| string |
key |
|
Returns
|
Edit this page
View Source
GetGlobalUInt(string)
Declaration
protected Task<ulong> GetGlobalUInt(string key)
Parameters
| Type |
Name |
Description |
| string |
key |
|
Returns
|
Edit this page
View Source
GetLocalByteSlice(Account, string)
Declaration
protected Task<byte[]> GetLocalByteSlice(Account caller, string key)
Parameters
Returns
|
Edit this page
View Source
GetLocalUInt(Account, string)
Declaration
protected Task<ulong> GetLocalUInt(Account caller, string key)
Parameters
Returns
|
Edit this page
View Source
MakeArc4TransactionList(List<Transaction>, ulong?, OnCompleteType, ulong, string, Account, byte[], List<WireType>, List<ulong>, List<ulong>, List<Address>, List<BoxRef>)
Declaration
protected Task<List<Transaction>> MakeArc4TransactionList(List<Transaction> preTransactions, ulong? fee, OnCompleteType onComplete, ulong roundValidity, string note, Account sender, byte[] selector, List<WireType> args, List<ulong> foreignApps, List<ulong> foreignAssets, List<Address> accounts, List<BoxRef> boxes = null)
Parameters
Returns
|
Edit this page
View Source
MakeTransactionList(List<object>, Account, ulong?, string, ulong, List<BoxRef>?, List<Transaction>?, List<ulong>?, List<ulong>?, List<Address>?, OnCompleteType)
Declaration
protected Task<List<Transaction>> MakeTransactionList(List<object> args, Account _tx_sender, ulong? _tx_fee, string _tx_note, ulong _tx_roundValidity, List<BoxRef>? _tx_boxes = null, List<Transaction>? _tx_transactions = null, List<ulong>? _tx_assets = null, List<ulong>? _tx_apps = null, List<Address>? _tx_accounts = null, OnCompleteType _tx_callType = OnCompleteType.NoOp)
Parameters
Returns
|
Edit this page
View Source
ReverseIfLittleEndian(byte[])
Declaration
protected byte[] ReverseIfLittleEndian(byte[] bytes)
Parameters
| Type |
Name |
Description |
| byte[] |
bytes |
|
Returns
|
Edit this page
View Source
SimApp(List<object>, Account, ulong?, string, ulong, List<BoxRef>?, List<Transaction>?, List<ulong>?, List<ulong>?, List<Address>?, OnCompleteType)
Declaration
protected Task<ICollection<byte[]>> SimApp(List<object> args, Account _tx_sender, ulong? _tx_fee, string _tx_note, ulong _tx_roundValidity, List<BoxRef>? _tx_boxes = null, List<Transaction>? _tx_transactions = null, List<ulong>? _tx_assets = null, List<ulong>? _tx_apps = null, List<Address>? _tx_accounts = null, OnCompleteType _tx_callType = OnCompleteType.NoOp)
Parameters
Returns