aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ABITests/basic_abi_tests.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/ABITests/basic_abi_tests.json b/ABITests/basic_abi_tests.json
new file mode 100644
index 000000000..52f16c01a
--- /dev/null
+++ b/ABITests/basic_abi_tests.json
@@ -0,0 +1,40 @@
+{
+ 'GithubWikiTest': {
+ "args": [
+ 291,
+ [
+ 1110,
+ 1929
+ ],
+ "1234567890",
+ "Hello, world!"
+ ],
+ "result": "00000000000000000000000000000000000000000000000000000000000001230000000000000000000000000000000000000000000000000000000000000080313233343536373839300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000004560000000000000000000000000000000000000000000000000000000000000789000000000000000000000000000000000000000000000000000000000000000d48656c6c6f2c20776f726c642100000000000000000000000000000000000000",
+ "types": [
+ "uint256",
+ "uint32[]",
+ "bytes10",
+ "bytes"
+ ]
+ },
+ 'SingleInteger': {
+ "args": [
+ 98127491
+ ],
+ "result": "0000000000000000000000000000000000000000000000000000000005d94e83",
+ "types": [
+ "uint256"
+ ]
+ },
+ 'IntegerAndAddress': {
+ "args": [
+ 324124,
+ "cd2a3d9f938e13cd947ec05abc7fe734df8dd826"
+ ],
+ "result": "000000000000000000000000000000000000000000000000000000000004f21c000000000000000000000000cd2a3d9f938e13cd947ec05abc7fe734df8dd826",
+ "types": [
+ "uint256",
+ "address"
+ ]
+ }
+}