Spigot

Verified contract

Proxy

Active on Ethereum with 2 txns
Deployed by via 0x2da861c3 at 18315053
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"

0xad38282c761611796f11534e21312ce6ea6bb690f7369fb74126caa71ddce85b
0xbc8923dae59af186a9e68961c6e786cab5b5b4c9bd82838653a7a1bc8b6de63c

Functions
Getter at block 21320808
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(