2 txs
219 calls
constructor
No constructor.
functions
billContract
viewfunction billContract(address) view returns (bool)
owner
viewfunction owner() view returns (address)
payoutAddress
viewfunction payoutAddress() view returns (address)
payoutToken
viewfunction payoutToken() view returns (address)
valueOfToken
viewfunction valueOfToken(address _principalTokenAddress, uint256 _amount) view returns (uint256 value_)
deposit_FeeInPayout
nonpayablefunction deposit_FeeInPayout(address _principalTokenAddress, uint256 _amountPrincipalToken, uint256 _amountPayoutToken, uint256 _feePayoutToken, address _feeReceiver)
deposit
nonpayablefunction deposit(address _principalTokenAddress, uint256 _amountPrincipalToken, uint256 _amountPayoutToken)
initialize
nonpayablefunction initialize(address _payoutToken, address _initialOwner, address _payoutAddress)
renounceOwnership
nonpayablefunction renounceOwnership()
toggleBillContract
nonpayablefunction toggleBillContract(address _billContract, bool _isActive)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
withdraw
nonpayablefunction withdraw(address _token, address _destination, uint256 _amount)
events
BillContractToggled
event BillContractToggled(address indexed billContract, bool enabled)
Deposit
event Deposit(address indexed billContract, uint256 amountPrincipalToken, uint256 amountPayoutToken)
Initialized
event Initialized(uint8 version)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PayoutFee
event PayoutFee(address indexed billContract, address feeReceiver, uint256 amountPayoutToken)
Withdraw
event Withdraw(address indexed token, address indexed destination, uint256 amount)
errors
No errors.
creation bytecode
0x3d602d80600a3d3981f3363d3d373d3d3d363d73b2caa362729905c6e046ef6ebf836d2d07fb55da5af43d82803e903d91602b57fd5bf3