Spigot

Verified contract

Proxy

Active on Ethereum with 0 txns
Deployed by via 0x81c76044 at 19542980
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
ERC-20
Value $29,242.71

No transactions found for "Spigot"


Functions
Getter at block 21320164
operator(view returns (address)
0x7ec0d4fdda3c194408d59241d27ce0d2016d890f
owner(view returns (address)
0x47301d4a6be0e9057b254202d2c83cdb2109cc92
Read-only
getOperatorTokens(address tokenview returns (uint256)
getOwnerTokens(address tokenview returns (uint256)
getSetting(address revenueContractview returns (uint8bytes4bytes4)
isWhitelisted(bytes4 funcview returns (bool)
State-modifying
addSpigot(address revenueContractstruct ISpigotSetting settingreturns (bool)
claimOperatorTokens(address tokenreturns (uint256 claimed)
claimOwnerTokens(address tokenreturns (uint256 claimed)
claimRevenue(address revenueContractaddress tokenbytes datareturns (uint256 claimed)
operate(address revenueContractbytes datareturns (bool)
removeSpigot(address revenueContractreturns (bool)
updateOperator(address newOperatorreturns (bool)
updateOwner(address newOwnerreturns (bool)
updateOwnerSplit(address revenueContractuint8 ownerSplitreturns (bool)
updateWhitelistedFunction(bytes4 funcbool allowedreturns (bool)
Events
AddSpigot(address indexed revenueContractuint256 ownerSplitbytes4 claimFnSigbytes4 trsfrFnSig
ClaimOperatorTokens(address indexed tokenuint256 indexed amountaddress operator
ClaimOwnerTokens(address indexed tokenuint256 indexed amountaddress owner
ClaimRevenue(address indexed tokenuint256 indexed amountuint256 escrowedaddress revenueContract
RemoveSpigot(address indexed revenueContractaddress token
UpdateOperator(address indexed newOperator
UpdateOwner(address indexed newOwner
UpdateOwnerSplit(address indexed revenueContractuint8 indexed split
UpdateWhitelistFunction(bytes4 indexed funcbool indexed allowed
AddSpigot(address indexed revenueContractuint256 ownerSplitbytes4 claimFnSigbytes4 trsfrFnSig
ClaimOperatorTokens(address indexed tokenuint256 indexed amountaddress ooperator
ClaimOwnerTokens(address indexed tokenuint256 indexed amountaddress owner
ClaimRevenue(address indexed tokenuint256 indexed amountuint256 ownerTokensaddress revenueContract
RemoveSpigot(address indexed revenueContract
UpdateOperator(address indexed newOperator
UpdateOwner(address indexed newOwner
UpdateOwnerSplit(address indexed revenueContractuint8 indexed split
UpdateTreasury(address indexed newTreasury
UpdateWhitelistFunction(bytes4 indexed funcbool indexed allowed
Constructor
constructor(address _owneraddress _operator
Fallback and receive
receive(
Errors
BadFunction(
BadSetting(
CallerAccessDenied(
ClaimFailed(
InvalidRevenueContract(
NoRevenue(
OperatorFnCallFailed(
OperatorFnNotValid(
OperatorFnNotWhitelisted(
ReentrancyGuardReentrantCall(
UnclaimedRevenue(
BadFunction(
BadSetting(
CallerAccessDenied(
ClaimFailed(
InvalidRevenueContract(
NoRevenue(
OperatorFnCallFailed(
OperatorFnNotValid(
OperatorFnNotWhitelisted(
SpigotSettingsExist(
UnclaimedRevenue(