Skip to content

Commit

Permalink
Merge pull request #3 from pooltogether/fix/9
Browse files Browse the repository at this point in the history
fix(contract): fix approveMax and depositToken functions
  • Loading branch information
PierrickGT committed Aug 25, 2021
2 parents b07265c + 41d75dd commit fe942c3
Show file tree
Hide file tree
Showing 5 changed files with 408 additions and 31 deletions.
63 changes: 54 additions & 9 deletions abis/MStableYieldSource.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,31 @@
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"internalType": "contract ISavingsContractV2",
"name": "savings",
"type": "address"
}
],
"name": "ApprovedMax",
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "contract ISavingsContractV2",
"name": "savings",
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "Initialized",
"name": "OwnershipTransferred",
"type": "event"
},
{
Expand Down Expand Up @@ -88,8 +94,14 @@
},
{
"inputs": [],
"name": "approveMax",
"outputs": [],
"name": "approveMaxAmount",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -118,7 +130,7 @@
"outputs": [
{
"internalType": "address",
"name": "underlyingMasset",
"name": "",
"type": "address"
}
],
Expand Down Expand Up @@ -157,6 +169,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand All @@ -176,6 +201,13 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "savings",
Expand Down Expand Up @@ -206,5 +238,18 @@
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]

0 comments on commit fe942c3

Please sign in to comment.