-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from vesperfi/revenue-splitter
Updated revenue splitter
- Loading branch information
Showing
2 changed files
with
124 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,191 +1,189 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address[]", | ||
"name": "_payees", | ||
"type": "address[]" | ||
}, | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "_share", | ||
"type": "uint256[]" | ||
} | ||
{"internalType": "address[]", "name": "_payees", "type": "address[]"}, | ||
{"internalType": "uint256[]", "name": "_share", "type": "uint256[]"} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "payee", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "share", | ||
"type": "uint256" | ||
} | ||
{"indexed": true, "internalType": "address", "name": "previousOwner", "type": "address"}, | ||
{"indexed": true, "internalType": "address", "name": "newOwner", "type": "address"} | ||
], | ||
"name": "OwnershipTransferred", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{"indexed": true, "internalType": "address", "name": "payee", "type": "address"}, | ||
{"indexed": false, "internalType": "uint256", "name": "share", "type": "uint256"} | ||
], | ||
"name": "PayeeAdded", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "payee", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "asset", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "tokens", | ||
"type": "uint256" | ||
} | ||
{"indexed": true, "internalType": "address", "name": "payee", "type": "address"}, | ||
{"indexed": true, "internalType": "address", "name": "asset", "type": "address"}, | ||
{"indexed": false, "internalType": "uint256", "name": "tokens", "type": "uint256"} | ||
], | ||
"name": "PaymentReleased", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
{"indexed": true, "internalType": "address", "name": "vToken", "type": "address"}, | ||
{"indexed": true, "internalType": "address", "name": "oracle", "type": "address"} | ||
], | ||
"name": "payees", | ||
"outputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
"name": "VTokenAdded", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{"indexed": true, "internalType": "address", "name": "vToken", "type": "address"}, | ||
{"indexed": true, "internalType": "address", "name": "oracle", "type": "address"} | ||
], | ||
"name": "VTokenRemoved", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "HIGH", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "LOW", | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_payee", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "_asset", | ||
"type": "address" | ||
} | ||
{"internalType": "address", "name": "_vToken", "type": "address"}, | ||
{"internalType": "address", "name": "_oracle", "type": "address"} | ||
], | ||
"name": "release", | ||
"name": "addVToken", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "isAutoTopUpEnabled", | ||
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "isTopUpEnabled", | ||
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{"internalType": "address", "name": "", "type": "address"}], | ||
"name": "oracles", | ||
"outputs": [{"internalType": "address", "name": "", "type": "address"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "owner", | ||
"outputs": [{"internalType": "address", "name": "", "type": "address"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"name": "payees", | ||
"outputs": [{"internalType": "address", "name": "", "type": "address"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address payable", | ||
"name": "_payee", | ||
"type": "address" | ||
} | ||
{"internalType": "address", "name": "_payee", "type": "address"}, | ||
{"internalType": "address", "name": "_asset", "type": "address"} | ||
], | ||
"name": "release", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{"internalType": "address payable", "name": "_payee", "type": "address"}], | ||
"name": "releaseEther", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
{"internalType": "address", "name": "", "type": "address"}, | ||
{"internalType": "address", "name": "", "type": "address"} | ||
], | ||
"name": "released", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"inputs": [{"internalType": "address", "name": "_vToken", "type": "address"}], | ||
"name": "removeVToken", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{"inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, | ||
{ | ||
"inputs": [{"internalType": "address", "name": "", "type": "address"}], | ||
"name": "share", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{"inputs": [], "name": "toggleAutoTopUp", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, | ||
{"inputs": [], "name": "toggleTopUpStatus", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, | ||
{"inputs": [], "name": "topUp", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"inputs": [{"internalType": "address", "name": "", "type": "address"}], | ||
"name": "totalReleased", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "totalShare", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"stateMutability": "payable", | ||
"type": "receive" | ||
} | ||
"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}], | ||
"name": "transferOwnership", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], | ||
"name": "vTokens", | ||
"outputs": [{"internalType": "address", "name": "", "type": "address"}], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{"stateMutability": "payable", "type": "receive"} | ||
] |