Skip to content

Commit

Permalink
Update DecoderTests.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
prettymuchbryce authored Jan 31, 2018
1 parent b9bb83f commit 3ae24ec
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package com.prettymuchbryce.abidecoder
import java.math.BigInteger;

import java.math.BigInteger
import org.junit.Assert.*
import com.fasterxml.jackson.module.kotlin.*
import org.junit.Test
import org.spongycastle.util.encoders.Hex;
import org.spongycastle.util.encoders.Hex

val testAbiJson= """
[{"inputs": [{"type": "address", "name": ""}], "constant": true, "name": "isInstantiation", "payable": false, "outputs": [{"type": "bool", "name": ""}], "type": "function"}, {"inputs": [{"type": "address[]", "name": "_owners"}, {"type": "uint256", "name": "_required"}, {"type": "uint256", "name": "_dailyLimit"}], "constant": false, "name": "create", "payable": false, "outputs": [{"type": "address", "name": "wallet"}], "type": "function"}, {"inputs": [{"type": "address", "name": ""}, {"type": "uint256", "name": ""}], "constant": true, "name": "instantiations", "payable": false, "outputs": [{"type": "address", "name": ""}], "type": "function"}, {"inputs": [{"type": "address", "name": "creator"}], "constant": true, "name": "getInstantiationCount", "payable": false, "outputs": [{"type": "uint256", "name": ""}], "type": "function"}, {"inputs": [{"indexed": false, "type": "address", "name": "sender"}, {"indexed": false, "type": "address", "name": "instantiation"}], "type": "event", "name": "ContractInstantiation", "anonymous": false}]
Expand Down

0 comments on commit 3ae24ec

Please sign in to comment.