Skip to content

Commit

Permalink
feat: update mortgages abi (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
nachomazzara authored and nicosantangelo committed Oct 24, 2018
1 parent 57bddad commit d4d2449
Show file tree
Hide file tree
Showing 2 changed files with 506 additions and 824 deletions.
177 changes: 166 additions & 11 deletions src/contracts/artifacts/MortgageHelper.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
{
"contractName": "MortgageHelper",
"abi": [
{
"constant": false,
"inputs": [{ "name": "_engine", "type": "address" }],
"name": "setEngine",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_requiredTotal", "type": "uint256" }],
"name": "setRequiredTotal",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_to", "type": "address" }],
"name": "setOwner",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand All @@ -19,6 +46,24 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "maxSpend",
"outputs": [{ "name": "", "type": "uint256" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_manaOracle", "type": "address" }],
"name": "setManaOracle",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
Expand All @@ -32,6 +77,15 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_maxSpend", "type": "uint256" }],
"name": "setMaxSpend",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down Expand Up @@ -113,15 +167,6 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_to", "type": "address" }],
"name": "transferTo",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down Expand Up @@ -156,6 +201,15 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_mortgageManager", "type": "address" }],
"name": "setMortgageManager",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down Expand Up @@ -183,6 +237,15 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_landMarket", "type": "address" }],
"name": "setLandMarket",
"outputs": [{ "name": "", "type": "bool" }],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [{ "name": "_marginSpend", "type": "uint256" }],
Expand All @@ -196,8 +259,6 @@
"inputs": [
{ "name": "_mortgageManager", "type": "address" },
{ "name": "_nanoLoanEngine", "type": "address" },
{ "name": "_rcn", "type": "address" },
{ "name": "_mana", "type": "address" },
{ "name": "_landMarket", "type": "address" },
{ "name": "_manaOracle", "type": "address" },
{ "name": "_tokenConverter", "type": "address" },
Expand All @@ -217,6 +278,100 @@
],
"name": "NewMortgage",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": false, "name": "engine", "type": "address" },
{ "indexed": false, "name": "loanId", "type": "uint256" },
{ "indexed": false, "name": "amount", "type": "uint256" }
],
"name": "PaidLoan",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": false, "name": "_prev", "type": "uint256" },
{ "indexed": false, "name": "_new", "type": "uint256" }
],
"name": "SetRebuyThreshold",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": false, "name": "_prev", "type": "uint256" },
{ "indexed": false, "name": "_new", "type": "uint256" }
],
"name": "SetMarginSpend",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": false, "name": "_prev", "type": "uint256" },
{ "indexed": false, "name": "_new", "type": "uint256" }
],
"name": "SetMaxSpend",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": false, "name": "_prev", "type": "uint256" },
{ "indexed": false, "name": "_new", "type": "uint256" }
],
"name": "SetRequiredTotal",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": false, "name": "_prev", "type": "address" },
{ "indexed": false, "name": "_new", "type": "address" }
],
"name": "SetTokenConverter",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": false, "name": "_prev", "type": "address" },
{ "indexed": false, "name": "_new", "type": "address" }
],
"name": "SetConverterRamp",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": false, "name": "_manaOracle", "type": "address" }],
"name": "SetManaOracle",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": false, "name": "_engine", "type": "address" }],
"name": "SetEngine",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": false, "name": "_landMarket", "type": "address" }],
"name": "SetLandMarket",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": false, "name": "_mortgageManager", "type": "address" }],
"name": "SetMortgageManager",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": false, "name": "_owner", "type": "address" }],
"name": "SetOwner",
"type": "event"
}
]
}
Loading

0 comments on commit d4d2449

Please sign in to comment.