public Task <string> SignTransactionAsync(ICeloEthExternalSigner externalSigner, BigInteger chainId, string to, BigInteger amount, BigInteger nonce, string data) { var transaction = new CeloTransactionChainId(to, amount, nonce, data, chainId); return(SignTransactionAsync(externalSigner, transaction)); }
public Task <string> SignTransactionAsync(ICeloEthExternalSigner externalSigner, BigInteger chainId, string to, BigInteger amount, string feeCurrency, string gatewayFeeRecipient, BigInteger gatewayFee, BigInteger nonce, string data) { var transaction = new CeloTransactionChainId(to, amount, nonce, feeCurrency, gatewayFeeRecipient, gatewayFee, data, chainId); return(SignTransactionAsync(externalSigner, transaction)); }
public CeloExternalAccount(ICeloEthExternalSigner externalSigner, BigInteger?chainId = null, string feeCurrency = null, string gatewayFeeRecipient = null, BigInteger?gatewayFee = null) { ExternalSigner = externalSigner; ChainId = chainId; FeeCurrency = feeCurrency; GatewayFeeRecipient = gatewayFeeRecipient; GatewayFee = gatewayFee; }
public CeloExternalAccount(string address, ICeloEthExternalSigner externalSigner, BigInteger?chainId = null, string feeCurrency = null, string gatewayFeeRecipient = null, BigInteger?gatewayFee = null) { ChainId = chainId; Address = address; FeeCurrency = feeCurrency; GatewayFeeRecipient = gatewayFeeRecipient; GatewayFee = gatewayFee; ExternalSigner = externalSigner; }
public Task <string> SignTransactionAsync(ICeloEthExternalSigner externalSigner, Chain chain, string to, BigInteger amount, string feeCurrency, string gatewayFeeRecipient, BigInteger gatewayFee, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, string data) { return(SignTransactionAsync(externalSigner, (int)chain, to, amount, feeCurrency, gatewayFeeRecipient, gatewayFee, nonce, gasPrice, gasLimit, data)); }
public Task <string> SignTransactionAsync(ICeloEthExternalSigner externalSigner, Chain chain, string to, BigInteger amount, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, string data) { return(SignTransactionAsync(externalSigner, (int)chain, to, amount, nonce, gasPrice, gasLimit, data)); }
public Task <string> SignTransactionAsync(ICeloEthExternalSigner externalSigner, Chain chain, string to, BigInteger amount, BigInteger nonce) { return(SignTransactionAsync(externalSigner, (int)chain, to, amount, nonce)); }
private async Task <string> SignTransactionAsync(ICeloEthExternalSigner externalSigner, CeloTransactionChainId transaction) { await transaction.SignExternallyAsync(externalSigner).ConfigureAwait(false); return(transaction.GetRLPEncoded().ToHex()); }
public abstract Task SignExternallyAsync(ICeloEthExternalSigner externalSigner);
public override async Task SignExternallyAsync(ICeloEthExternalSigner externalSigner) { await externalSigner.SignAsync(this).ConfigureAwait(false); }