diff --git a/Testnet/AddressMapper/README.MD b/Testnet/AddressMapper/README.MD index ca767fbd..eddcdb62 100644 --- a/Testnet/AddressMapper/README.MD +++ b/Testnet/AddressMapper/README.MD @@ -1,4 +1,5 @@ # Address Mapper Contract +Address mapper contract maps addresses such as you have two wallets: desktop and mobile wallets. You want to map the addresses of both wallets making one the primary address and the secondary address. **Compiler Version** ``` @@ -13,3 +14,39 @@ ea55b6d2485904e940c1495472b3d25d1b2c01161f68714de02da8278f2635f1 ``` 4D5A90000300000004000000FFFF0000B800000000000000400000000000000000000000000000000000000000000000000000000000000000000000800000000E1FBA0E00B409CD21B8014CCD21546869732070726F6772616D2063616E6E6F742062652072756E20696E20444F53206D6F64652E0D0D0A2400000000000000504500004C01020042542C900000000000000000E00022200B013000000E00000002000000000000C22C0000002000000040000000000010002000000002000004000000000000000400000000000000006000000002000000000000030040850000100000100000000010000010000000000000100000000000000000000000702C00004F000000000000000000000000000000000000000000000000000000004000000C000000542C00001C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000080000000000000000000000082000004800000000000000000000002E74657874000000C80C000000200000000E000000020000000000000000000000000000200000602E72656C6F6300000C000000004000000002000000100000000000000000000000000000400000420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A42C0000000000004800000002000500B0220000A409000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007202280500000A7201000070038C06000001280600000A6F0700000A2A7602280500000A7201000070038C06000001280600000A046F0800000A2A7202280500000A722B000070038C06000001280600000A6F0100002B2A7602280500000A722B000070038C06000001280600000A046F0200002B2A7202280500000A7243000070038C06000001280600000A6F0B00000A2A4602280500000A72630000706F0700000A2A4A02280500000A7263000070036F0800000A2A3E0203280C00000A020428070000062A13300400450000000100001102020328030000067B0600000416FE01726F000070280D00000A02031200FE1504000002120002280E00000A6F0F00000A7D050000041200177D060000040628040000062A00000013300400790000000200001102280E000006020328030000060A02067B0600000417FE01728D000070280D00000A02067B0500000403280200000602031201FE15040000021201067B050000047D050000041201187D06000004072804000006021202FE15050000021202067B050000047D070000041202037D0800000408280300002B2A000000133003002A0000000100001102280E000006020328030000060A02067B0600000417FE01728D000070280D00000A020328050000062A0000133003002300000001000011020328030000060A02067B0600000418FE0172CF000070280D00000A067B050000042ABA02280E00000602037E1100000A281200000A72090100707271010070280600000A280D00000A020328070000062A8A0202280600000602280E00000A6F0F00000A281300000A727D010070280D00000A2A00000042534A4201000100000000000C00000076342E302E33303331390000000005006C00000068030000237E0000D40300000003000023537472696E677300000000D4060000C00100002355530094080000100000002347554944000000A40800000001000023426C6F620000000000000002000001571DA201090A000000FA013300160000010000000E00000005000000080000000E0000000F0000001300000003000000060000000200000001000000010000000200000001000000020000000300000003000000000038010100000000000600A700CA010600D600CA0106009300B7010F00EA0100000A007B0254020A004C0254020A005B005402060051014A01060047004A010A00C70054020A0082005402060020014A01060089024A010A0032005402000000000100000000000100010001001000A3010000150001000100020100006D020000210001000F000A0110005B010000250005000F000A01100027010000250007000F0006060A00950056806B0298005680020198005680290098000600D602710006006D0295000600D60271000600C202710050200000000086001A029C0001006D200000000081002E02A30002008B200000000086000A01AB000400A8200000000081001501B2000500C6200000000081005601BA000700E3200000000086087D0157000800F5200000000081088701BA0008000821000000008618B101C00009001821000000008600F901BA000B006C21000000008600FA00BA000C00F4210000000086009002BA000D002C2200000000860042029C000E005B220000000086009101BA000F008A22000000008600B2020600100000000100DE0200000100DE0200000200CC0200000100CC0200000100CC0200000200F40000000100CC0200000100F400000001006F00000002009D0100000100CC0200000100CC0200000100CC0200000100CC02000001009D010900B10101001100B10106001900B1010A005100B1010600290051001000610074021500590004021B0059000F0221005900970228005900A102340059006C013C002900B10141002900AB024C0029003B0052007100720157002900340165003100670171003100F20275003100E602750008000800860008000C008B000800100090002E000B00CD002E001300D6002E001B00F500A10023008B00E10023008B00010123008B0047005C000200010000009701C8000200060003000100070003000480000000000000000000000000000000007B0200000400000000000000000000007D00120000000000020000000000000000000000000054020000000003000200040002000500020013002F0015002F0021006C000000003C4D6F64756C653E0076616C75655F5F0053797374656D2E507269766174652E436F72654C696200417070726F76656400494D657373616765006765745F4D6573736167650056616C756554797065006765745F53746174650049536D617274436F6E7472616374537461746500736D617274436F6E74726163745374617465004950657273697374656E7453746174650044656275676761626C6541747472696275746500436F6D70696C6174696F6E52656C61786174696F6E7341747472696275746500496E6465784174747269627574650052756E74696D65436F6D7061746962696C6974794174747269627574650076616C756500417070726F76650050656E64696E67004765744D617070696E67005365744D617070696E6700537472696E6700416464726573734D61707065644C6F6700536D617274436F6E74726163742E646C6C0053797374656D00456E756D00436C6561724D617070696E67496E666F005A65726F00436C656172006765745F53656E646572006765745F4F776E6572007365745F4F776E6572004368616E67654F776E6572006F776E657200416464726573734D6170706572002E63746F720053797374656D2E446961676E6F73746963730053797374656D2E52756E74696D652E436F6D70696C6572536572766963657300446562756767696E674D6F646573004D61704164647265737300476574416464726573730053657441646472657373004765745365636F6E6461727941646472657373005365745365636F6E6461727941646472657373004765745072696D6172794164647265737300537472617469732E536D617274436F6E747261637473004E6F53746174757300466F726D617400536D617274436F6E7472616374004F626A6563740052656A65637400476574537472756374005365745374727563740041737365727400456E7375726541646D696E4F6E6C79005365636F6E64617279007365636F6E64617279005072696D617279007072696D617279006F705F457175616C697479006F705F496E657175616C6974790000295300650063006F006E00640061007200790041006400640072006500730073003A007B0030007D0000174D0061007000700069006E0067003A007B0030007D00001F4D0061007000700069006E00670049006E0066006F003A007B0030007D00000B4F0077006E0065007200001D41007300730065007200740020006600610069006C00650064002E0000414D0061007000700069006E00670020006900730020006E006F007400200069006E002000700065006E00640069006E0067002000730074006100740065002E00003954006800650020006D0061007000700069006E00670020006900730020006E006F007400200061007000700072006F007600650064002E00006754006800650020007B0030007D00200070006100720061006D0065007400650072002000630061006E0020006E006F0074002000620065002000640065006600610075006C00740028007A00650072006F002900200061006400640072006500730073002E00000B6F0077006E0065007200003F4F006E006C007900200063006F006E007400720061006300740020006F0077006E00650072002000630061006E0020006100630063006500730073002E0000000000EEE2C7F974D6C54DB86E6FFA481534DB00042001010803200001052001011111042000122D0500020E0E1C05200111190E062002010E1119063001011E000E040A01111007300102010E1E00042001010E05200101121D040701111005200201020E0420001239042000111908070311101110111406300101011E00040A011114030611190700020211191119087CEC85D7BEA7798E0400000000040100000004020000000206080306110C06200111191119072002011119111906200111101119072002011119111005200101111907200201121D111904280011190801000800000000001E01000100540216577261704E6F6E457863657074696F6E5468726F777301080100020000000000000000000000000000000000000010000000000000000000000000000000982C00000000000000000000B22C0000002000000000000000000000000000000000000000000000A42C0000000000000000000000005F436F72446C6C4D61696E006D73636F7265652E646C6C0000000000FF2500200010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000C000000C43C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ``` + +**Deployment** + +Parameter required: +- `Address Owner`: Address of the Contract Owner + +Once deployed, the address supplied during the deployment will be the owner of the contract. The owner of the Contract has special privileges such as the owner can: + +- Approve the address mapping. +- Reject the mapping +- Change ownership of contract to other + +**MapAddress** + +Once deployed, user can call `MapAddress` method to map the secondary address. This method call must supply the secondary address that need to be mapped with the primary address. The address used to call this method becomes primary address and supplied address while calling this method becomes +secondary address. + +**Approve** + +The `Approve` method approves the mapping of address. Owner of the contract can only call this method and approve the mapping. This method call must supply the secondary address. + +**Reject** + +The owner of contract can reject the mapping of address calling `Reject` method. This method call requires secondary address to be passed as a parameter in the method call. + +**ChangeOwner** + +The owner of the contract can change the ownership of the contract to another address by calling `ChangeOwner` method. This method call requires new owner address to be passed as a parameter. + +**GetPrimaryAddress** + +The `GetPrimaryAddress` method gives the primary address based on the supplied secondary address. This method call requires secondary address to be passed as parameter in the method call. + +**GetSecondaryAddress** + +The `GetSecondaryAddress` method gives mapped secondary address. This method call must supply the primary address. diff --git a/Testnet/Identity/README.md b/Testnet/Identity/README.md index 3f295fae..08170fe5 100644 --- a/Testnet/Identity/README.md +++ b/Testnet/Identity/README.md @@ -1,8 +1,8 @@ # Identity Contract -``` -Identity contract that enables decentralised claim management for users -``` +Identity contract that enables decentralised claim management for users. +It is a version of ERC 780 for claim management on the Stratis Platform. Particularly it is like a KYC claim to validate the identity of an individual whether he/she owns a given address. + **Compiler Version** ``` v2.0.0 @@ -16,3 +16,27 @@ v2.0.0 ``` 4D5A90000300000004000000FFFF0000B800000000000000400000000000000000000000000000000000000000000000000000000000000000000000800000000E1FBA0E00B409CD21B8014CCD21546869732070726F6772616D2063616E6E6F742062652072756E20696E20444F53206D6F64652E0D0D0A2400000000000000504500004C010200018E6DB60000000000000000E00022200B013000000A00000002000000000000AE2900000020000000400000000000100020000000020000040000000000000004000000000000000060000000020000000000000300408500001000001000000000100000100000000000001000000000000000000000005C2900004F000000000000000000000000000000000000000000000000000000004000000C000000402900001C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000080000000000000000000000082000004800000000000000000000002E74657874000000B409000000200000000A000000020000000000000000000000000000200000602E72656C6F6300000C0000000040000000020000000C000000000000000000000000000040000042000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000090290000000000004800000002000500D42100006C07000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004602280500000A72010000706F0600000A2A4A02280500000A7201000070036F0700000A2A660203280800000A0202280900000A6F0A00000A28020000062A3A022805000006020328020000062A8A0202280100000602280900000A6F0A00000A280B00000A720D000070280C00000A2A00000013300400480000000100001102280500000602030428080000060A020304052809000006021201FE15040000021201037D040000041201047D050000041201057D060000041201067D0700000407280100002B2A13300300440000000200001102280500000602030428080000060A068E2D012A020304280A000006021201FE15030000021201037D010000041201047D020000041201067D0300000407280200002B2A8A02280500000A725D000070038C06000001048C0C000001280E00000A6F0F00000A2A8E02280500000A725D000070038C06000001048C0C000001280E00000A056F1000000A2A8A02280500000A725D000070038C06000001048C0C000001280E00000A6F1100000A2A000042534A4201000100000000000C00000076342E302E33303331390000000005006C000000F8020000237E0000640300009002000023537472696E677300000000F405000080000000235553007406000010000000234755494400000084060000E800000023426C6F6200000000000000020000015715A201090A000000FA013300160000010000000E00000004000000070000000A0000000F00000011000000070000000200000001000000010000000200000001000000020000000200000002000000000021010100000000000600C300E2010600F200E2010600AF00CF010F00020200000A00570239020A00310239020A00840039020600700033010A00E30039020A00980039020A005B003902060001003301060016013301060065023301000000000800000000000100010001001000840100001500010001000A0110004E000000210001000B000A01100041000000210004000B0006006C01810006003500850006001400880006006C0181000600350085000600140088000600110088005020000000008108A0012D0001006220000000008108AA018C0001007520000000008618C901220002008F20000000008600B4018C0003009E20000000008100730206000400C4200000000086003A0192000400182100000000860043019B00070068210000000086005A01A20009008B21000000008100630192000B00AF210000000081004F019B000E0000000100100100000100A90000000100C001000001007501000002003B00000003001900000001007501000002003B00000001007501000002003B00000001007501000002003B00000003001900000001007501000002003B000900C90101001100C90106001900C9010A004900C901060029007A00100051002302150051002E021B002900C9012200290064002800590095012D0031008302320029006C023A0029001D014700690050025F0051001102660051001A026C0051007E01730021002300E0002E000B00AF002E001300B8002E001B00D70041002300E00081002300E000A1002300E00040005300020001000000C301AA000200010003000100020003000480000000000000000000000000000000005702000004000000000000000000000078001E0000000000020000000000000000000000000039020000000003000200040002001B004E001B005A0000000055496E743332003C4D6F64756C653E004F6C644461746100646174610053797374656D2E507269766174652E436F72654C696200546F70696300746F70696300436C61696D4368616E67656400436C61696D52656D6F76656400494D657373616765006765745F4D6573736167650056616C756554797065006765745F53746174650049536D617274436F6E74726163745374617465004950657273697374656E7453746174650073746174650044656275676761626C6541747472696275746500436F6D70696C6174696F6E52656C61786174696F6E7341747472696275746500496E6465784174747269627574650052756E74696D65436F6D7061746962696C6974794174747269627574650076616C756500537472696E67004C6F6700536D617274436F6E74726163742E646C6C0053797374656D00416464436C61696D0052656D6F7665436C61696D00436C656172436C61696D00476574436C61696D00536574436C61696D00497373756564546F00697373756564546F00436C656172004964656E7469747950726F7669646572006765745F53656E646572006765745F4F776E6572007365745F4F776E6572004368616E67654F776E6572006E65774F776E6572002E63746F720053797374656D2E446961676E6F73746963730053797374656D2E52756E74696D652E436F6D70696C6572536572766963657300446562756767696E674D6F6465730047657442797465730053657442797465730047657441646472657373005365744164647265737300537472617469732E536D617274436F6E74726163747300466F726D617400536D617274436F6E7472616374004F626A6563740041737365727400456E737572654F776E65724F6E6C79006F705F457175616C6974790000000B4F0077006E0065007200004F54006800650020006D006500740068006F0064002000630061006E002000620065002000630061006C006C006500640020006200790020006F006E006C00790020006F0077006E00650072002E00001F43006C00610069006D005B007B0030007D005D005B007B0031007D005D0000000000DDF65F4D14FDB44894A2BB58E37AB9DB00042001010803200001052001011111042000122905200111190E062002010E111905200101121D042000122D0420001119070002021119111905200201020E0607021D05111006300101011E00040A0111100607021D05110C040A01110C0600030E0E1C1C0520011D050E062002010E1D05042001010E087CEC85D7BEA7798E0306111902060903061D05052001011119082003011119091D05062002011119090720021D0511190904280011190801000800000000001E01000100540216577261704E6F6E457863657074696F6E5468726F7773010801000200000000000401000000000000000000000000000000000000100000000000000000000000000000008429000000000000000000009E29000000200000000000000000000000000000000000000000000090290000000000000000000000005F436F72446C6C4D61696E006D73636F7265652E646C6C0000000000FF250020001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000C000000B03900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ``` +**Deploying** + +Parameters are not required to deploy this contract. +The address used to deploy the contract on the blockchain becomes the owner of the contract. The owner will get special privileges. +- Owner can change the ownership to another address +- Owner can Add a Claim on the Blockchain +- Owner can remove the claim + +**Add Claim** + +The owner of the Contract can add a claim by calling `AddClaim` method. + +**Remove Claim** + +The owner of the Contract can remove the claim by calling `RemoveClaim` method. + +**Change Ownership of Contract** + +The owner of the Contract can change ownership of the Contract to another address by calling the `ChangeOwner` method. Once called new address owner will be the owner of the Identity Contract. + +**Get Claim** + +The `GetClaim` method is to verify the user’s claim on the blockchain and validates the identity of an Individual. + diff --git a/Testnet/StandardToken/README.MD b/Testnet/StandardToken/README.MD index e57b25c6..4d80fb71 100644 --- a/Testnet/StandardToken/README.MD +++ b/Testnet/StandardToken/README.MD @@ -1,4 +1,5 @@ # Standard Token Contract +Standard Token Contract is used to create a token, trade, or transfer them from one to another, and exchange them. **Compiler Version** ``` @@ -13,3 +14,33 @@ v2.0.0 ``` 4D5A90000300000004000000FFFF0000B800000000000000400000000000000000000000000000000000000000000000000000000000000000000000800000000E1FBA0E00B409CD21B8014CCD21546869732070726F6772616D2063616E6E6F742062652072756E20696E20444F53206D6F64652E0D0D0A2400000000000000504500004C0102004F7450990000000000000000E00022200B0130000010000000020000000000002A2E0000002000000040000000000010002000000002000004000000000000000400000000000000006000000002000000000000030040850000100000100000000010000010000000000000100000000000000000000000D82D00004F000000000000000000000000000000000000000000000000000000004000000C000000BC2D00001C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000080000000000000000000000082000004800000000000000000000002E74657874000000300E0000002000000010000000020000000000000000000000000000200000602E72656C6F6300000C0000000040000000020000001200000000000000000000000000004000004200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C2E0000000000004800000002000500D0230000EC0900000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E20203280500000A0204280900000602052805000006020E042803000006020E0528070000060202280600000A6F0700000A04280B0000062A4602280800000A72010000706F0900000A2A4A02280800000A7201000070036F0A00000A2A4602280800000A720F0000706F0900000A2A4A02280800000A720F000070036F0A00000A2A4E02280800000A72190000706F0B00000A16912A6E02280800000A7219000070178D0E0000012516039C6F0C00000A2A4602280800000A722B0000706F0D00000A2A4A02280800000A722B000070036F0E00000A2A7202280800000A7243000070038C09000001280F00000A6F0D00000A2A7602280800000A7243000070038C09000001280F00000A046F0E00000A2A0013300400C2000000010000110416281000000A281100000A2C38021201FE1503000002120102280600000A6F0700000A7D010000041201037D02000004120116281000000A7D0300000407280100002B172A0202280600000A6F0700000A280A0000060A0604281300000A2C02162A0202280600000A6F0700000A0604281400000A280B00000602030203280A00000604281500000A280B000006021201FE1503000002120102280600000A6F0700000A7D010000041201037D020000041201047D0300000407280100002B172A000013300500CF000000020000110516281000000A281100000A2C2E021202FE15030000021202037D010000041202047D02000004120216281000000A7D0300000408280100002B172A020302280600000A6F0700000A28100000060A0203280A0000060B0605281300000A2D090705281300000A2C02162A020302280600000A6F0700000A0605281400000A280F00000602030705281400000A280B00000602040204280A00000605281500000A280B000006021202FE15030000021202037D010000041202047D020000041202057D0300000408280100002B172A00133004006A000000030000110202280600000A6F0700000A03281000000604281600000A2C02162A0202280600000A6F0700000A0305280F000006021200FE1504000002120002280600000A6F0700000A7D040000041200037D050000041200057D070000041200047D0600000406280200002B172A8E02280800000A725B000070038C09000001048C09000001281700000A056F0E00000A2A8A02280800000A725B000070038C09000001048C09000001281700000A6F0D00000A2A00000042534A4201000100000000000C00000076342E302E33303331390000000005006C0000000C040000237E0000780400009403000023537472696E6773000000000C08000080000000235553008C0800001000000023475549440000009C0800005001000023426C6F6200000000000000020000015717A201090A000000FA013300160000010000001000000004000000070000001000000019000000010000001700000007000000030000000100000004000000080000000100000003000000020000000200000000008D010100000000000600F50079020600240179020600E10045020F00990200000A000B03ED020E00010058020A00A900ED020A002100ED020A00DD02ED0206009500BC010A001501ED020A006900ED020A00D000ED0206004201BC0106006201BC0106001903BC01000000002900000000000100010001001000E10100001500010001000A011000750100002900010011000A011000690100002900040011000600CB019D00060012029D0006003D03A100060033029D00060023029D0006002C03A10006003D03A10050200000000086183F02A500010089200000000086089F01B00006009B20000000008108AA01B4000600AE200000000086087E00B0000700C0200000000081088700B4000700D32000000000E609BA02B9000800E720000000008108C702BD000800032100000000E6094B03C200090015210000000081085B03C7000900282100000000E6014900CD000A0045210000000081005400D4000B00642100000000E6010A02DC000D00342200000000E601C301E4000F00102300000000E6014D01EE00120086230000000081008101F8001500AA2300000000E6015F000201180000000100BD00000002006B0300000300900000000400B50100000500D40200000100470100000100470100000100470100000100470100000100E50200000100E50200000200470100000100150200000200440300000100D001000002001502000003004403000001002B02000002003603000003004403000001003902000002002B02000003004701000001003902000002002B020200190009003F02010011003F02060019003F020A0059003F02060029003F021000290072001600610018021B0029009F00200069005501250069005F012A006900A80230006900B1023600690013003D0069001E004300790004034A00410020035700410077035D0029007D0165004100D5015D004100EF0171004100FE017100410083035D00790004038D002100230049012E000B0018012E00130021012E001B004001410023004901810023004901A1002300490150007A008300020001000000AE010B0100008B000B010000CB020F0100005F0313010200020003000100030003000200040005000100050005000200060007000100070007000200080009000100090009000480000000000000000000000000000000000B03000004000000000000000000000094003200000000000200000000000000000000000000ED02000000000200000000000000000000000000580200000000030002000400020025006C0025008800000000495374616E64617264546F6B656E3235360047657455496E743235360053657455496E74323536003C4D6F64756C653E0053797374656D2E507269766174652E436F72654C69620047657442616C616E63650053657442616C616E636500416C6C6F77616E636500494D657373616765006765745F4D657373616765006765745F4E616D65007365745F4E616D65006E616D650056616C756554797065006765745F53746174650049536D617274436F6E7472616374537461746500736D617274436F6E74726163745374617465004950657273697374656E7453746174650044656275676761626C6541747472696275746500436F6D70696C6174696F6E52656C61786174696F6E7341747472696275746500496E6465784174747269627574650052756E74696D65436F6D7061746962696C69747941747472696275746500427974650076616C756500417070726F766500476574537472696E6700536574537472696E6700417070726F76616C4C6F67005472616E736665724C6F6700536574417070726F76616C00536D617274436F6E74726163742E646C6C006765745F53796D626F6C007365745F53796D626F6C0073796D626F6C0053797374656D005472616E7366657246726F6D0066726F6D006F705F4C6573735468616E005374616E64617264546F6B656E006F705F5375627472616374696F6E006F705F4164646974696F6E005472616E73666572546F00746F006765745F53656E646572005370656E646572007370656E646572004F776E6572006F776E6572002E63746F720053797374656D2E446961676E6F737469637300537472617469732E536D617274436F6E7472616374732E5374616E64617264730053797374656D2E52756E74696D652E436F6D70696C6572536572766963657300446562756767696E674D6F646573004765744279746573005365744279746573006765745F446563696D616C73007365745F446563696D616C7300646563696D616C730041646472657373006164647265737300537472617469732E536D617274436F6E74726163747300466F726D617400536D617274436F6E7472616374004F626A656374006F705F496D706C69636974004F6C64416D6F756E740063757272656E74416D6F756E7400616D6F756E74006765745F546F74616C537570706C79007365745F546F74616C537570706C7900746F74616C537570706C79006F705F457175616C697479006F705F496E657175616C69747900000000000D530079006D0062006F006C0000094E0061006D006500001144006500630069006D0061006C007300001754006F00740061006C0053007500700070006C0079000017420061006C0061006E00630065003A007B0030007D00002341006C006C006F00770061006E00630065003A007B0030007D003A007B0031007D000000DDF72CC17C666E4FA9162D348C993F730004200101080320000105200101111105200101121D0420001231042000112504200012350420010E0E052002010E0E0520011D050E062002010E1D0505200111210E062002010E11210500020E0E1C0607021121110C050001112108070002021121112106300101011E00040A01110C08000211211121112108070311211121110C0407011110040A0111100600030E0E1C1C087CEC85D7BEA7798E03061125030611210A200501121D11210E0E050320000E042001010E032000050420010105042000112105200101112106200111211125072002011125112107200202112511210920030211251125112109200302112511211121092003011125112511210820021121112511250328000E0328000504280011210801000800000000001E01000100540216577261704E6F6E457863657074696F6E5468726F7773010801000200000000000401000000000000000000000000000000000010000000000000000000000000000000002E000000000000000000001A2E00000020000000000000000000000000000000000000000000000C2E0000000000000000000000005F436F72446C6C4D61696E006D73636F7265652E646C6C0000000000FF25002000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000C0000002C3E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ``` + +**Deployment** + +Parameter required: + +- `UInt256 Total Supply `: The total supply of the token, it must be greater than 0 + +- `String Name`: The name of the token that you are going to create + +- `String Symbol`: The symbol of the token that is used to identify the token + +- `Byte Decimal`: The amount of decimals for display and calculation purposes + +Once deployed, the Address used to create the contract will be assigned to the total token supply. + +**TransferTo** + +Users can call the `TransferTo` method to transfer tokens to another address.This call must supply to the Address and amount to transfer. + +**TransferFrom** + +This method transfers the token from one address to another address. This can be used to call from another contract as well. For example, `Withdraw` method of the Airdrop contract calls `TransferFrom` method of `TokenContractAddress` which was set during the deployment of the Airdrop contract.This method call must supply from address, to address and the amount that needs to be transferred. + +**Approve** + +`Approve` method validates whether the amount of token balance from an address can be spent by the received(to) address. + +**GetBalance** + +This method gives the balance of the address. Method call must supply the `Address` to get the balance. Once you called the `TransferTo` method and transfer the amount `from address` to the `to address`, you can use `to address` to get and check the balance of the `to address`.