Example #1
0
 public Address ConvertVirtualAddressToContractAddress(Hash virtualAddress)
 {
     return(_smartContractBridgeContextImplementation.ConvertVirtualAddressToContractAddress(virtualAddress));
 }
Example #2
0
 /// <summary>
 /// Converts a virtual address to a contract address.
 /// </summary>
 /// <param name="this">An instance of <see cref="ISmartContractBridgeContext"/>.</param>
 /// <param name="virtualAddress">The virtual address that want to convert.</param>
 /// <returns></returns>
 public static Address ConvertVirtualAddressToContractAddress(this ISmartContractBridgeContext @this,
                                                              Hash virtualAddress)
 {
     return(@this.ConvertVirtualAddressToContractAddress(virtualAddress, @this.Self));
 }