Skip to content

Commit

Permalink
Merge pull request #68 from studydefi/update/uma-abis
Browse files Browse the repository at this point in the history
Update UMA ABIs
  • Loading branch information
adrianmcli authored Aug 3, 2020
2 parents c448b18 + b6080a2 commit e755130
Show file tree
Hide file tree
Showing 12 changed files with 141 additions and 114 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@studydefi/money-legos",
"version": "2.3.5",
"version": "2.3.6",
"main": "index.js",
"types": "index.d.ts",
"repository": "[email protected]:studydefi/money-legos.git",
Expand Down
15 changes: 10 additions & 5 deletions src/uma/abi/AddressWhitelist.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [],
Expand Down Expand Up @@ -94,7 +95,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [
Expand All @@ -113,7 +115,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [
Expand Down Expand Up @@ -158,7 +161,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [],
Expand All @@ -171,6 +175,7 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
}
]
12 changes: 12 additions & 0 deletions src/uma/abi/ExpiringMultiParty.json
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,12 @@
"internalType": "uint256",
"name": "liquidatedCollateral",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "liquidationTime",
"type": "uint256"
}
],
"name": "LiquidationCreated",
Expand Down Expand Up @@ -348,6 +354,12 @@
"internalType": "enum Liquidatable.Status",
"name": "liquidationStatus",
"type": "uint8"
},
{
"indexed": false,
"internalType": "uint256",
"name": "settlementPrice",
"type": "uint256"
}
],
"name": "LiquidationWithdrawn",
Expand Down
73 changes: 10 additions & 63 deletions src/uma/abi/ExpiringMultiPartyCreator.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
"name": "_finderAddress",
"type": "address"
},
{
"internalType": "address",
"name": "_collateralTokenWhitelist",
"type": "address"
},
{
"internalType": "address",
"name": "_tokenFactoryAddress",
Expand Down Expand Up @@ -44,45 +39,6 @@
"name": "CreatedExpiringMultiParty",
"type": "event"
},
{
"inputs": [],
"name": "STRICT_LIQUIDATION_LIVENESS",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "STRICT_WITHDRAWAL_LIVENESS",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "collateralTokenWhitelist",
"outputs": [
{
"internalType": "contract AddressWhitelist",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getCurrentTime",
Expand Down Expand Up @@ -135,25 +91,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "validExpirationTimestamps",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -242,6 +179,16 @@
"internalType": "struct FixedPoint.Unsigned",
"name": "minSponsorTokens",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "withdrawalLiveness",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidationLiveness",
"type": "uint256"
}
],
"internalType": "struct ExpiringMultiPartyCreator.Params",
Expand Down
3 changes: 2 additions & 1 deletion src/uma/abi/FinancialContractsAdmin.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [],
Expand Down
9 changes: 6 additions & 3 deletions src/uma/abi/Finder.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [],
Expand All @@ -67,7 +68,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [],
Expand Down Expand Up @@ -124,6 +126,7 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
}
]
6 changes: 4 additions & 2 deletions src/uma/abi/IdentifierWhitelist.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [],
Expand Down Expand Up @@ -120,6 +121,7 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
}
]
24 changes: 16 additions & 8 deletions src/uma/abi/Registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [
Expand All @@ -201,7 +202,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [
Expand All @@ -225,7 +227,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [
Expand All @@ -244,7 +247,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [
Expand Down Expand Up @@ -356,7 +360,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [
Expand All @@ -375,7 +380,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [],
Expand All @@ -388,7 +394,8 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
},
{
"inputs": [
Expand All @@ -412,6 +419,7 @@
}
],
"stateMutability": "view",
"type": "function"
"type": "function",
"constant": true
}
]
Loading

1 comment on commit e755130

@vercel
Copy link

@vercel vercel bot commented on e755130 Aug 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.