Example #1
0
 public async Task <IBlockchainOperation> CreateVASPContractAsync(
     Address from,
     VASPCode vaspCode,
     Address owner,
     Channels channels,
     TransportKey transportKey,
     MessageKey messageKey,
     SigningKey signingKey,
     ConfirmationLevel minimalConfirmationLevel = default)
 {
     return(await SendTransactionAsync
            (
                from,
                new CreateVASPContractTransaction
     {
         VASPCode = vaspCode,
         Owner = owner,
         Channels = channels,
         TransportKey = transportKey,
         MessageKey = messageKey,
         SigningKey = signingKey
     },
                minimalConfirmationLevel
            ));
 }
Example #2
0
 public VASPInfo(
     Channels channels,
     VASPCode vaspCode,
     MessageKey messageKey,
     SigningKey signingKey,
     TransportKey transportKey)
 {
     Channels     = channels;
     VASPCode     = vaspCode;
     MessageKey   = messageKey;
     SigningKey   = signingKey;
     TransportKey = transportKey;
 }