Skip to content

adibas03/online-ethereum-abi-encoder-decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

online-ethereum-abi-encoder-decoder

online-ethereum-abi-encoder-decoder

A quick online tool to abi-encode constructor arguments used in solidity. The encoded data can be used to deploy the contract or verify the contract on Etherscan : https://ropsten.etherscan.io/verifyContract

Usage

Encode

  • Add the value types, each seperated by a comma
  • Add the values to match the number of types entered, each seperated by a comma , (No spaces), using square brakets [] to wrap arrays
Types:
address,uint256,address[],uint256[]

Values:
0x0000000000000000000000000000000000000000,5,[0xEC66d98e5a7DdBFEA66345ceA8626B5403AF1315,0xD6FAcd899F03C4aFce389ea51D73e8FD7D8A53E2,0x8c3720060f8cFDf8b8d4DA5698F4f51a48A0828a,0x9a9e6588AF6d1bC42572B0E3c3D2F827dabA64Ac,0x4A7a9f1Ac903A94f8Ed8E91BD0c7B5307d29EC18],[40,12,12,12,24]

Decode

  • Add the value types, each seperated by a comma
  • Add the encoded data to be decoded
Types:
address,uint256,address[],uint256[]

Encoded data:
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000005000000000000000000000000ec66d98e5a7ddbfea66345cea8626b5403af1315000000000000000000000000d6facd899f03c4afce389ea51d73e8fd7d8a53e20000000000000000000000008c3720060f8cfdf8b8d4da5698f4f51a48a0828a0000000000000000000000009a9e6588af6d1bc42572b0e3c3d2f827daba64ac0000000000000000000000004a7a9f1ac903a94f8ed8e91bd0c7b5307d29ec1800000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000018

url

Live / Demo

Contribute

https://github.com/adibas03/online-ethereum-abi-encoder-decoder/issues

Contribution

Buy me a Coffe or a Beer
Ethereum: 0x965D1C9987BD2c34e151E63d60AFf8E9dB6b1561