@perp/hottub-deployments
Version:
Perpetual Protocol Hot Tub contract artifacts (ABIs) and deployed addresses
464 lines (463 loc) • 10.2 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "IShowerRoom",
"sourceName": "contracts/interface/IShowerRoom.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "waitListIndex",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amountIn",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "yvTokenAmountIn",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "stakingRewardPerToken",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "pendingStakingRewards",
"type": "uint256"
}
],
"name": "AddToWaitList",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "waitListIndex",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "depositedToKantaban",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "shares",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "yvTokenWithdrawn",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "assetsWithdrawnFromYearnVault",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "yvStakingRewards",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "stakingRewards",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "assetsSwappedFromRewards",
"type": "uint256"
}
],
"name": "PushToKantaban",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "UpdateMaxDepositPerUser",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "UpdatePusher",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "UpdateRouter",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "UpdateYearnStakingRewards",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "UpdateYearnStakingRewardsVault",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "UpdateYearnVault",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "totalAssetsWithdrawn",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "yvTokenWithdrawn",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "assetsWithdrawnFromYearnVault",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "yvStakingRewards",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "stakingRewards",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "assetsSwappedFromRewards",
"type": "uint256"
}
],
"name": "Withdraw",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "deposit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getAsset",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getKantabanVault",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getMaxDepositPerUser",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getNextDepositIndex",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getPusher",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getRouter",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "getUser",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "waitListIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amountIn",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "yvTokenAmountIn",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "stakingRewardPerToken",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "pendingStakingRewards",
"type": "uint256"
}
],
"internalType": "struct IShowerRoomStruct.User",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getYearnStakingRewards",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getYearnStakingRewardsVault",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getYearnVault",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "isNextDepositIndexEndOfWaitList",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "maxSkipped",
"type": "uint256"
}
],
"name": "pushToKantaban",
"outputs": [
{
"internalType": "uint256",
"name": "shares",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "withdrawAll",
"outputs": [
{
"internalType": "uint256",
"name": "totalAssetsWithdrawn",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}