-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Eugene Alekseev
committed
Apr 26, 2022
1 parent
a701abd
commit 06241a9
Showing
13 changed files
with
106 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<linker> | ||
<assembly fullname="System" preserve="all"> | ||
<type fullname="System.ComponentModel.TypeConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.ArrayConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.BaseNumberConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.BooleanConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.ByteConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.CharConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.CollectionConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.ComponentConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.CultureInfoConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.DateTimeConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.DecimalConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.DoubleConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.EnumConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.ExpandableObjectConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.Int16Converter" preserve="all"/> | ||
<type fullname="System.ComponentModel.Int32Converter" preserve="all"/> | ||
<type fullname="System.ComponentModel.Int64Converter" preserve="all"/> | ||
<type fullname="System.ComponentModel.NullableConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.SByteConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.SingleConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.StringConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.TimeSpanConverter" preserve="all"/> | ||
<type fullname="System.ComponentModel.UInt16Converter" preserve="all"/> | ||
<type fullname="System.ComponentModel.UInt32Converter" preserve="all"/> | ||
<type fullname="System.ComponentModel.UInt64Converter" preserve="all"/> | ||
</assembly> | ||
<assembly fullname="Nethereum.ABI" preserve="all"/> | ||
<assembly fullname="Nethereum.Hex" preserve="all"/> | ||
<assembly fullname="Nethereum.RPC" preserve="all"/> | ||
<assembly fullname="Nethereum.RLP" preserve="all"/> | ||
<assembly fullname="Nethereum.Contracts" preserve="all"/> | ||
<assembly fullname="Nethereum.Util" preserve="all"/> | ||
<assembly fullname="Nethereum.Signer" preserve="all"/> | ||
<assembly fullname="Nethereum.JsonRpc.Client" preserve="all"/> | ||
<assembly fullname="Nethereum.Unity" preserve="all"/> | ||
</linker> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System.Numerics; | ||
using AnkrSDK.Core.Data.ContractMessages.ERC721; | ||
using AnkrSDK.Core.Data.ContractMessages.ERC721.RentableExtension; | ||
using AnkrSDK.Examples.GameCharacterContract; | ||
using Nethereum.Web3; | ||
|
||
namespace AnkrSDK.Core.AoT | ||
{ | ||
public static class AoTSetup | ||
{ | ||
private static void SetupAoT() | ||
{ | ||
var web3 = new Web3(); | ||
var contractHandler = web3.Eth.GetContractHandler(""); | ||
contractHandler.QueryAsync<Data.ContractMessages.ERC721.BalanceOfMessage, BigInteger>(); | ||
contractHandler.QueryAsync<Data.ContractMessages.ERC1155.BalanceOfMessage, BigInteger>(); | ||
contractHandler.QueryAsync<GetHatMessage, BigInteger>(); | ||
contractHandler.QueryAsync<GetShoesMessage, BigInteger>(); | ||
contractHandler.QueryAsync<TotalSupplyMessage, BigInteger>(); | ||
contractHandler.QueryAsync<TokenOfOwnerByIndexMessage, BigInteger>(); | ||
contractHandler.QueryAsync<TokenByIndexMessage, BigInteger>(); | ||
contractHandler.QueryAsync<TokenURIMessage, string>(); | ||
contractHandler.QueryAsync<OwnerOfMessage, string>(); | ||
contractHandler.QueryAsync<NameMessage, string>(); | ||
contractHandler.QueryAsync<SymbolMessage, string>(); | ||
contractHandler.QueryAsync<PrincipalOwnerMessage, string>(); | ||
contractHandler.QueryAsync<IsApprovedForAllMessage, bool>(); | ||
contractHandler.QueryAsync<GetApprovedMessage, bool>(); | ||
contractHandler.QueryAsync<IsRentedMessage, bool>(); | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,5 @@ namespace AnkrSDK.Core.Data | |
{ | ||
public class EventDTOBase : IEventDTO | ||
{ | ||
public EventDTOBase() | ||
{ | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters