Spigot

Verified contract

Proxy

Active on Ethereum with 10 txns
Deployed by via 0x6cb2aade at 17807359
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots

No balances found for "Spigot"

0x6671be6de6a7c4d26d84abe245781f0ed715d143c166490057194e2aa9cd2593
0xa08b703ff9bcaa489aed5d285241e42e28418256df6c7ed270a105240c3c3f1f
0x577c61344fdd7f5a4ec8b50a52a69c8ca360899d94c8f80dab11fdd75e9f3b5f
0x6c686400c43ee4853514e2ee7d67dbb559241ccd885fc9be0150fcfb987e6aba
0x7ecf60dfaa94feca86dff968f1a9a19c15b7598b3622d0f5f55ebfc807bd9d9a
0xbe471fde44a919040c32e8655bc7eea5cae78a7ea8eb127c6239d0ea3feb0cb3
0xd0c4a6cb8f0d46c902ee7b8409605e5630d2fe4b4283f45d43efe7f5182af525
0x5896415ee8065b4e724e44b85ed8f6461ee5d5d61e6dec0350bea3153edd4851
0x5c445e3b6c1195145f61770d9b1e98a543c2a0e665e99559bf81f637f2bfee0f
0x958da72b3feab66fc247c4744a46b83c999dbb327a380cd0040f47026f2452a5

Functions
Getter at block 21320772
operator(view returns (address)
0x7ec0d4fdda3c194408d59241d27ce0d2016d890f
owner(view returns (address)
0x7ec0d4fdda3c194408d59241d27ce0d2016d890f
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(