Esempio n. 1
0
 public static OracleClient <T, S> GetOracle <T, S>(this ClientModels.Account account, string oraclepubkey) => account.GetOracleAsync <T, S>(oraclepubkey).RunAndUnwrap();
Esempio n. 2
0
 public static InProgress <OracleServer <T, S> > RegisterOracle <T, S>(this ClientModels.Account account, ulong queryFee = Constants.BaseConstants.ORACLE_QUERY_FEE, ulong fee   = Constants.BaseConstants.FEE, Ttl ttl = default(Ttl), ushort abiVersion = Constants.BaseConstants.ORACLE_VM_VERSION) => account.RegisterOracleAsync <T, S>(queryFee, fee, ttl, abiVersion).RunAndUnwrap();
Esempio n. 3
0
 public static OracleServer <T, S> GetOwnOracle <T, S>(this ClientModels.Account account) => account.GetOwnOracleAsync <T, S>().RunAndUnwrap();
Esempio n. 4
0
 public static Contract ConstructContract(this ClientModels.Account account, string sourcecode, ushort vmVersion         = Constants.BaseConstants.VM_VERSION, ushort abiVersion = Constants.BaseConstants.ABI_VERSION) => Contract.CreateAsync(account, sourcecode, null, null, vmVersion, abiVersion).RunAndUnwrap();
Esempio n. 5
0
 public static void Refresh(this ClientModels.Account account) => account.RefreshAsync().RunAndUnwrap();
Esempio n. 6
0
 public static InProgress <bool> SendAmount(this ClientModels.Account account, string recipientPublicKey, BigInteger amount, string payload = "") => account.SendAmountAsync(recipientPublicKey, amount, payload).RunAndUnwrap();
Esempio n. 7
0
 public static Claim QueryDomain(this ClientModels.Account account, string domain) => account.QueryDomainAsync(domain).RunAndUnwrap();
Esempio n. 8
0
 public static InProgress <PreClaim> PreClaimDomain(this ClientModels.Account account, string domain) => account.PreClaimDomainAsync(domain).RunAndUnwrap();