Skip to content

Commit

Permalink
Update contract name JSON key (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmrsabino authored May 25, 2018
1 parent efd7df4 commit 1c0efeb
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package pm.gnosis.model
import com.squareup.moshi.Json

class AbiRoot(@Json(name = "abi") val abi: List<AbiElementJson>,
@Json(name = "contract_name") val contractName: String)
@Json(name = "contractName") val contractName: String)

class AbiElementJson(@Json(name = "constant") val constant: Boolean = false,
@Json(name = "inputs") val inputs: List<ParameterJson> = listOf(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"contract_name": "EmptyContract",
"contractName": "EmptyContract",
"abi": []
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi10",
"contractName": "Abi10",
"abi": [
{
"constant": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi11",
"contractName": "Abi11",
"abi": [
{
"anonymous": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi12",
"contractName": "Abi12",
"abi": [
{
"anonymous": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi13",
"contractName": "Abi13",
"abi": [
{
"anonymous": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi14",
"contractName": "Abi14",
"abi": [
{
"anonymous": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi15",
"contractName": "Abi15",
"abi": [
{
"anonymous": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi1",
"contractName": "Abi1",
"abi": [
{
"constant": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi2",
"contractName": "Abi2",
"abi": [
{
"constant": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi3",
"contractName": "Abi3",
"abi": [
{
"constant": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi4",
"contractName": "Abi4",
"abi": [
{
"constant": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi5",
"contractName": "Abi5",
"abi": [
{
"name": "function"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi6",
"contractName": "Abi6",
"abi": [
{
"constant": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi7",
"contractName": "Abi7",
"abi": [
{
"constant": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi8",
"contractName": "Abi8",
"abi": [
{
"constant": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contract_name": "Abi9",
"contractName": "Abi9",
"abi": [
{
"constant": true,
Expand Down

0 comments on commit 1c0efeb

Please sign in to comment.