Commune

Verified contract

Active on Ethereum with 31 txns
Deployed by via 0x43297de9 at 11869846
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $558.8
0x42822b578e4084087920fcc2eedcb77c71ebb9710235488c91638baf7cb4b328
0x23c5a0378ae1a6e5a9d04373b4a79be809e74f90ab69f2ad656194bbe84bf3b5
0x5550250b3a917cccf0d4a2ce63fcfd07e7970515b8612a13a97f5c8bbefd0ec2
0x53492f89d482634138b5106babb77d5b5a9b49d1435828fe8c577ec04d7266ba
0x2551f2c6d0d72f7fc5de33326537f9655a7e3143f4e32a9a9f75e81c283ec66f
0xfd71d37764e069fca4ecd61ee041c7145e8c902b3ce75159f6ab4cb27bb88c17
0x0a690b6e5df8bb5855975ef476ad47042308f7fec5121e87150c3f6e89915d03
0x047954ed4c4de2892773f4eedc77b407e63b4800dce896a413a0e300997341b1
0x70f70060608bb648521d6e7e475c70de4ae2e5c5422f54b18911dce27e8a14e2
0x880d8d3b7753af026a2941b24e4379b9c41336a68150b47986892922fc72a268

Functions
Getter at block 21440373
controller(view returns (address)
0x307032847e07270ad7a0000100541507002505ea
feeRate(view returns (uint256)
100
numberOfCommunes(view returns (uint256)
2
treasuryAddress(view returns (address)
0xdfc395a710a7f680d6e900664450b57cfa66bf18
Read-only
balanceOf(address accountuint256 communeview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
getCommune(uint256view returns (bool allowsJoiningbool allowsRemovingbool allowsOutsideContributionaddress assetuint256 proratedTotaluint256 memberCountaddress controllerstring uri)
isApprovedForAll(address accountaddress operatorview returns (bool)
isCommuneMember(uint256 communeaddress accountview returns (bool)
uri(uint256 communeview returns (string)
State-modifying
addCommuneMember(address accountuint256 commune
contribute(uint256 amountuint256 commune
createCommune(string _uriaddress assetbool allowJoiningbool allowRemovingbool allowOutsideContributionreturns (uint256 _id)
joinCommune(uint256 commune
leaveCommune(uint256 commune
removeCommuneMember(address accountuint256 commune
setApprovalForAll(address operatorbool approved
setTreasuryAddress(address newTreasury
updateCommuneController(address accountuint256 commune
updateCommuneURI(string _uriuint256 commune
updateController(address account
updateFee(uint256 rate
withdraw(address accountaddress touint256 communeuint256 amount
withdrawBatch(address accountaddress touint256[] communesuint256[] amounts
Events
AddCommuneMember(address indexed accountuint256 indexed commune
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
Contribute(address indexed accountuint256 indexed communeuint256 amount
RemoveCommuneMember(address indexed accountuint256 indexed commune
URI(string valueuint256 indexed commune
UpdateCommuneController(address indexed accountuint256 indexed commune
UpdateController(address indexed account
UpdateFee(uint256 basisPoints
UpdateTreasuryAddress(address indexed account
Withdraw(address indexed operatoraddress indexed accountaddress touint256 indexed communeuint256 amount
WithdrawBatch(address indexed operatoraddress indexed accountaddress indexed touint256[] communesuint256[] amounts
Constructor
constructor(address _controller
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.