More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 67,119 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw Balance | 33570271 | 365 days ago | IN | 0 xDAI | 0.00013483 | ||||
Ragequit | 24720305 | 911 days ago | IN | 0 xDAI | 0.00194572 | ||||
Withdraw Balance | 24339136 | 940 days ago | IN | 0 xDAI | 0.00012041 | ||||
Process Proposal | 24339076 | 940 days ago | IN | 0 xDAI | 0.00037651 | ||||
Process Proposal | 24339063 | 940 days ago | IN | 0 xDAI | 0.00035283 | ||||
Process Proposal | 24339042 | 940 days ago | IN | 0 xDAI | 0.00039558 | ||||
Process Proposal | 24339028 | 940 days ago | IN | 0 xDAI | 0.00065403 | ||||
Process Proposal | 24339016 | 940 days ago | IN | 0 xDAI | 0.00056607 | ||||
Process Proposal | 24339004 | 940 days ago | IN | 0 xDAI | 0.00040225 | ||||
Process Proposal | 24338993 | 940 days ago | IN | 0 xDAI | 0.00061128 | ||||
Process Proposal | 24338981 | 940 days ago | IN | 0 xDAI | 0.00039648 | ||||
Process Proposal | 24338969 | 940 days ago | IN | 0 xDAI | 0.00039648 | ||||
Process Proposal | 24338958 | 940 days ago | IN | 0 xDAI | 0.00039648 | ||||
Process Proposal | 24338945 | 940 days ago | IN | 0 xDAI | 0.00039648 | ||||
Process Proposal | 24338931 | 940 days ago | IN | 0 xDAI | 0.00038248 | ||||
Process Proposal | 24338915 | 940 days ago | IN | 0 xDAI | 0.00055453 | ||||
Process Proposal | 24338903 | 940 days ago | IN | 0 xDAI | 0.00043923 | ||||
Process Proposal | 24338897 | 940 days ago | IN | 0 xDAI | 0.00020434 | ||||
Process Proposal | 24338892 | 940 days ago | IN | 0 xDAI | 0.00020434 | ||||
Process Proposal | 24338885 | 940 days ago | IN | 0 xDAI | 0.00043923 | ||||
Process Proposal | 24330333 | 941 days ago | IN | 0 xDAI | 0.00020434 | ||||
Process Proposal | 24330330 | 941 days ago | IN | 0 xDAI | 0.00020434 | ||||
Process Proposal | 24330328 | 941 days ago | IN | 0 xDAI | 0.00020434 | ||||
Process Proposal | 24330324 | 941 days ago | IN | 0 xDAI | 0.00061128 | ||||
Process Proposal | 24330307 | 941 days ago | IN | 0 xDAI | 0.00043923 |
View more zero value Internal Transactions in Advanced View mode
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x283bdC90...Ce46e0F50 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Moloch
Compiler Version
v0.5.3+commit.10d17f24
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at gnosisscan.io on 2022-08-03 */ // File: browser/ReentrancyGuard.sol pragma solidity ^0.5.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. * * _Since v2.5.0:_ this module is now much more gas efficient, given net gas * metering changes introduced in the Istanbul hardfork. */ contract ReentrancyGuard { bool private _notEntered; constructor () internal { // Storing an initial non-zero value makes deployment a bit more // expensive, but in exchange the refund on every call to nonReentrant // will be lower in amount. Since refunds are capped to a percetange of // the total transaction's gas, it is best to keep them low in cases // like this one, to increase the likelihood of the full refund coming // into effect. _notEntered = true; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_notEntered, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _notEntered = false; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _notEntered = true; } } // File: browser/IERC20.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: browser/SafeMath.sol pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: browser/MolochV2a.sol pragma solidity 0.5.3; contract Moloch is ReentrancyGuard { using SafeMath for uint256; /*************** GLOBAL CONSTANTS ***************/ uint256 public periodDuration; // default = 17280 = 4.8 hours in seconds (5 periods per day) uint256 public votingPeriodLength; // default = 35 periods (7 days) uint256 public gracePeriodLength; // default = 35 periods (7 days) uint256 public proposalDeposit; // default = 10 ETH (~$1,000 worth of ETH at contract deployment) uint256 public dilutionBound; // default = 3 - maximum multiplier a YES voter will be obligated to pay in case of mass ragequit uint256 public processingReward; // default = 0.1 - amount of ETH to give to whoever processes a proposal uint256 public summoningTime; // needed to determine the current period address public depositToken; // deposit token contract reference; default = wETH // HARD-CODED LIMITS // These numbers are quite arbitrary; they are small enough to avoid overflows when doing calculations // with periods or shares, yet big enough to not limit reasonable use cases. uint256 constant MAX_VOTING_PERIOD_LENGTH = 10**18; // maximum length of voting period uint256 constant MAX_GRACE_PERIOD_LENGTH = 10**18; // maximum length of grace period uint256 constant MAX_DILUTION_BOUND = 10**18; // maximum dilution bound uint256 constant MAX_NUMBER_OF_SHARES_AND_LOOT = 10**18; // maximum number of shares that can be minted uint256 constant MAX_TOKEN_WHITELIST_COUNT = 400; // maximum number of whitelisted tokens uint256 constant MAX_TOKEN_GUILDBANK_COUNT = 200; // maximum number of tokens with non-zero balance in guildbank // *************** // EVENTS // *************** event SummonComplete(address indexed summoner, address[] tokens, uint256 summoningTime, uint256 periodDuration, uint256 votingPeriodLength, uint256 gracePeriodLength, uint256 proposalDeposit, uint256 dilutionBound, uint256 processingReward); event SubmitProposal(address indexed applicant, uint256 sharesRequested, uint256 lootRequested, uint256 tributeOffered, address tributeToken, uint256 paymentRequested, address paymentToken, string details, bool[6] flags, uint256 proposalId, address indexed delegateKey, address indexed memberAddress); event SponsorProposal(address indexed delegateKey, address indexed memberAddress, uint256 proposalId, uint256 proposalIndex, uint256 startingPeriod); event SubmitVote(uint256 proposalId, uint256 indexed proposalIndex, address indexed delegateKey, address indexed memberAddress, uint8 uintVote); event ProcessProposal(uint256 indexed proposalIndex, uint256 indexed proposalId, bool didPass); event ProcessWhitelistProposal(uint256 indexed proposalIndex, uint256 indexed proposalId, bool didPass); event ProcessGuildKickProposal(uint256 indexed proposalIndex, uint256 indexed proposalId, bool didPass); event Ragequit(address indexed memberAddress, uint256 sharesToBurn, uint256 lootToBurn); event TokensCollected(address indexed token, uint256 amountToCollect); event CancelProposal(uint256 indexed proposalId, address applicantAddress); event UpdateDelegateKey(address indexed memberAddress, address newDelegateKey); event Withdraw(address indexed memberAddress, address token, uint256 amount); // ******************* // INTERNAL ACCOUNTING // ******************* uint256 public proposalCount = 0; // total proposals submitted uint256 public totalShares = 0; // total shares across all members uint256 public totalLoot = 0; // total loot across all members uint256 public totalGuildBankTokens = 0; // total tokens with non-zero balance in guild bank address public constant GUILD = address(0xdead); address public constant ESCROW = address(0xbeef); address public constant TOTAL = address(0xbabe); mapping (address => mapping(address => uint256)) public userTokenBalances; // userTokenBalances[userAddress][tokenAddress] enum Vote { Null, // default value, counted as abstention Yes, No } struct Member { address delegateKey; // the key responsible for submitting proposals and voting - defaults to member address unless updated uint256 shares; // the # of voting shares assigned to this member uint256 loot; // the loot amount available to this member (combined with shares on ragequit) bool exists; // always true once a member has been created uint256 highestIndexYesVote; // highest proposal index # on which the member voted YES uint256 jailed; // set to proposalIndex of a passing guild kick proposal for this member, prevents voting on and sponsoring proposals } struct Proposal { address applicant; // the applicant who wishes to become a member - this key will be used for withdrawals (doubles as guild kick target for gkick proposals) address proposer; // the account that submitted the proposal (can be non-member) address sponsor; // the member that sponsored the proposal (moving it into the queue) uint256 sharesRequested; // the # of shares the applicant is requesting uint256 lootRequested; // the amount of loot the applicant is requesting uint256 tributeOffered; // amount of tokens offered as tribute address tributeToken; // tribute token contract reference uint256 paymentRequested; // amount of tokens requested as payment address paymentToken; // payment token contract reference uint256 startingPeriod; // the period in which voting can start for this proposal uint256 yesVotes; // the total number of YES votes for this proposal uint256 noVotes; // the total number of NO votes for this proposal bool[6] flags; // [sponsored, processed, didPass, cancelled, whitelist, guildkick] string details; // proposal details - could be IPFS hash, plaintext, or JSON uint256 maxTotalSharesAndLootAtYesVote; // the maximum # of total shares encountered at a yes vote on this proposal mapping(address => Vote) votesByMember; // the votes on this proposal by each member } mapping(address => bool) public tokenWhitelist; address[] public approvedTokens; mapping(address => bool) public proposedToWhitelist; mapping(address => bool) public proposedToKick; mapping(address => Member) public members; mapping(address => address) public memberAddressByDelegateKey; mapping(uint256 => Proposal) public proposals; uint256[] public proposalQueue; modifier onlyMember { require(members[msg.sender].shares > 0 || members[msg.sender].loot > 0, "not a member"); _; } modifier onlyShareholder { require(members[msg.sender].shares > 0, "not a shareholder"); _; } modifier onlyDelegate { require(members[memberAddressByDelegateKey[msg.sender]].shares > 0, "not a delegate"); _; } constructor( address _summoner, address[] memory _approvedTokens, uint256 _periodDuration, uint256 _votingPeriodLength, uint256 _gracePeriodLength, uint256 _proposalDeposit, uint256 _dilutionBound, uint256 _processingReward ) public { require(_summoner != address(0), "summoner cannot be 0"); require(_periodDuration > 0, "_periodDuration cannot be 0"); require(_votingPeriodLength > 0, "_votingPeriodLength cannot be 0"); require(_votingPeriodLength <= MAX_VOTING_PERIOD_LENGTH, "_votingPeriodLength exceeds limit"); require(_gracePeriodLength <= MAX_GRACE_PERIOD_LENGTH, "_gracePeriodLength exceeds limit"); require(_dilutionBound > 0, "_dilutionBound cannot be 0"); require(_dilutionBound <= MAX_DILUTION_BOUND, "_dilutionBound exceeds limit"); require(_approvedTokens.length > 0, "need at least one approved token"); require(_approvedTokens.length <= MAX_TOKEN_WHITELIST_COUNT, "too many tokens"); require(_proposalDeposit >= _processingReward, "_proposalDeposit cannot be smaller than _processingReward"); depositToken = _approvedTokens[0]; // NOTE: move event up here, avoid stack too deep if too many approved tokens emit SummonComplete(_summoner, _approvedTokens, now, _periodDuration, _votingPeriodLength, _gracePeriodLength, _proposalDeposit, _dilutionBound, _processingReward); for (uint256 i = 0; i < _approvedTokens.length; i++) { require(_approvedTokens[i] != address(0), "_approvedToken cannot be 0"); require(!tokenWhitelist[_approvedTokens[i]], "duplicate approved token"); tokenWhitelist[_approvedTokens[i]] = true; approvedTokens.push(_approvedTokens[i]); } periodDuration = _periodDuration; votingPeriodLength = _votingPeriodLength; gracePeriodLength = _gracePeriodLength; proposalDeposit = _proposalDeposit; dilutionBound = _dilutionBound; processingReward = _processingReward; summoningTime = now; members[_summoner] = Member(_summoner, 1, 0, true, 0, 0); memberAddressByDelegateKey[_summoner] = _summoner; totalShares = 1; } /***************** PROPOSAL FUNCTIONS *****************/ function submitProposal( address applicant, uint256 sharesRequested, uint256 lootRequested, uint256 tributeOffered, address tributeToken, uint256 paymentRequested, address paymentToken, string memory details ) public nonReentrant returns (uint256 proposalId) { require(sharesRequested.add(lootRequested) <= MAX_NUMBER_OF_SHARES_AND_LOOT, "too many shares requested"); require(tokenWhitelist[tributeToken], "tributeToken is not whitelisted"); require(tokenWhitelist[paymentToken], "payment is not whitelisted"); require(applicant != address(0), "applicant cannot be 0"); require(applicant != GUILD && applicant != ESCROW && applicant != TOTAL, "applicant address cannot be reserved"); require(members[applicant].jailed == 0, "proposal applicant must not be jailed"); if (tributeOffered > 0 && userTokenBalances[GUILD][tributeToken] == 0) { require(totalGuildBankTokens < MAX_TOKEN_GUILDBANK_COUNT, 'cannot submit more tribute proposals for new tokens - guildbank is full'); } // collect tribute from proposer and store it in the Moloch until the proposal is processed require(IERC20(tributeToken).transferFrom(msg.sender, address(this), tributeOffered), "tribute token transfer failed"); unsafeAddToBalance(ESCROW, tributeToken, tributeOffered); bool[6] memory flags; // [sponsored, processed, didPass, cancelled, whitelist, guildkick] _submitProposal(applicant, sharesRequested, lootRequested, tributeOffered, tributeToken, paymentRequested, paymentToken, details, flags); return proposalCount - 1; // return proposalId - contracts calling submit might want it } function submitWhitelistProposal(address tokenToWhitelist, string memory details) public nonReentrant returns (uint256 proposalId) { require(tokenToWhitelist != address(0), "must provide token address"); require(!tokenWhitelist[tokenToWhitelist], "cannot already have whitelisted the token"); require(approvedTokens.length < MAX_TOKEN_WHITELIST_COUNT, "cannot submit more whitelist proposals"); bool[6] memory flags; // [sponsored, processed, didPass, cancelled, whitelist, guildkick] flags[4] = true; // whitelist _submitProposal(address(0), 0, 0, 0, tokenToWhitelist, 0, address(0), details, flags); return proposalCount - 1; } function submitGuildKickProposal(address memberToKick, string memory details) public nonReentrant returns (uint256 proposalId) { Member memory member = members[memberToKick]; require(member.shares > 0 || member.loot > 0, "member must have at least one share or one loot"); require(members[memberToKick].jailed == 0, "member must not already be jailed"); bool[6] memory flags; // [sponsored, processed, didPass, cancelled, whitelist, guildkick] flags[5] = true; // guild kick _submitProposal(memberToKick, 0, 0, 0, address(0), 0, address(0), details, flags); return proposalCount - 1; } function _submitProposal( address applicant, uint256 sharesRequested, uint256 lootRequested, uint256 tributeOffered, address tributeToken, uint256 paymentRequested, address paymentToken, string memory details, bool[6] memory flags ) internal { Proposal memory proposal = Proposal({ applicant : applicant, proposer : msg.sender, sponsor : address(0), sharesRequested : sharesRequested, lootRequested : lootRequested, tributeOffered : tributeOffered, tributeToken : tributeToken, paymentRequested : paymentRequested, paymentToken : paymentToken, startingPeriod : 0, yesVotes : 0, noVotes : 0, flags : flags, details : details, maxTotalSharesAndLootAtYesVote : 0 }); proposals[proposalCount] = proposal; address memberAddress = memberAddressByDelegateKey[msg.sender]; // NOTE: argument order matters, avoid stack too deep emit SubmitProposal(applicant, sharesRequested, lootRequested, tributeOffered, tributeToken, paymentRequested, paymentToken, details, flags, proposalCount, msg.sender, memberAddress); proposalCount += 1; } function sponsorProposal(uint256 proposalId) public nonReentrant onlyDelegate { // collect proposal deposit from sponsor and store it in the Moloch until the proposal is processed require(IERC20(depositToken).transferFrom(msg.sender, address(this), proposalDeposit), "proposal deposit token transfer failed"); unsafeAddToBalance(ESCROW, depositToken, proposalDeposit); Proposal storage proposal = proposals[proposalId]; require(proposal.proposer != address(0), 'proposal must have been proposed'); require(!proposal.flags[0], "proposal has already been sponsored"); require(!proposal.flags[3], "proposal has been cancelled"); require(members[proposal.applicant].jailed == 0, "proposal applicant must not be jailed"); if (proposal.tributeOffered > 0 && userTokenBalances[GUILD][proposal.tributeToken] == 0) { require(totalGuildBankTokens < MAX_TOKEN_GUILDBANK_COUNT, 'cannot sponsor more tribute proposals for new tokens - guildbank is full'); } // whitelist proposal if (proposal.flags[4]) { require(!tokenWhitelist[address(proposal.tributeToken)], "cannot already have whitelisted the token"); require(!proposedToWhitelist[address(proposal.tributeToken)], 'already proposed to whitelist'); require(approvedTokens.length < MAX_TOKEN_WHITELIST_COUNT, "cannot sponsor more whitelist proposals"); proposedToWhitelist[address(proposal.tributeToken)] = true; // guild kick proposal } else if (proposal.flags[5]) { require(!proposedToKick[proposal.applicant], 'already proposed to kick'); proposedToKick[proposal.applicant] = true; } // compute startingPeriod for proposal uint256 startingPeriod = max( getCurrentPeriod(), proposalQueue.length == 0 ? 0 : proposals[proposalQueue[proposalQueue.length.sub(1)]].startingPeriod ).add(1); proposal.startingPeriod = startingPeriod; address memberAddress = memberAddressByDelegateKey[msg.sender]; proposal.sponsor = memberAddress; proposal.flags[0] = true; // sponsored // append proposal to the queue proposalQueue.push(proposalId); emit SponsorProposal(msg.sender, memberAddress, proposalId, proposalQueue.length.sub(1), startingPeriod); } // NOTE: In MolochV2 proposalIndex !== proposalId function submitVote(uint256 proposalIndex, uint8 uintVote) public nonReentrant onlyDelegate { address memberAddress = memberAddressByDelegateKey[msg.sender]; Member storage member = members[memberAddress]; require(proposalIndex < proposalQueue.length, "proposal does not exist"); Proposal storage proposal = proposals[proposalQueue[proposalIndex]]; require(uintVote < 3, "must be less than 3"); Vote vote = Vote(uintVote); require(getCurrentPeriod() >= proposal.startingPeriod, "voting period has not started"); require(!hasVotingPeriodExpired(proposal.startingPeriod), "proposal voting period has expired"); require(proposal.votesByMember[memberAddress] == Vote.Null, "member has already voted"); require(vote == Vote.Yes || vote == Vote.No, "vote must be either Yes or No"); proposal.votesByMember[memberAddress] = vote; if (vote == Vote.Yes) { proposal.yesVotes = proposal.yesVotes.add(member.shares); // set highest index (latest) yes vote - must be processed for member to ragequit if (proposalIndex > member.highestIndexYesVote) { member.highestIndexYesVote = proposalIndex; } // set maximum of total shares encountered at a yes vote - used to bound dilution for yes voters if (totalShares.add(totalLoot) > proposal.maxTotalSharesAndLootAtYesVote) { proposal.maxTotalSharesAndLootAtYesVote = totalShares.add(totalLoot); } } else if (vote == Vote.No) { proposal.noVotes = proposal.noVotes.add(member.shares); } // NOTE: subgraph indexes by proposalId not proposalIndex since proposalIndex isn't set untill it's been sponsored but proposal is created on submission emit SubmitVote(proposalQueue[proposalIndex], proposalIndex, msg.sender, memberAddress, uintVote); } function processProposal(uint256 proposalIndex) public nonReentrant { _validateProposalForProcessing(proposalIndex); uint256 proposalId = proposalQueue[proposalIndex]; Proposal storage proposal = proposals[proposalId]; require(!proposal.flags[4] && !proposal.flags[5], "must be a standard proposal"); proposal.flags[1] = true; // processed bool didPass = _didPass(proposalIndex); // Make the proposal fail if the new total number of shares and loot exceeds the limit if (totalShares.add(totalLoot).add(proposal.sharesRequested).add(proposal.lootRequested) > MAX_NUMBER_OF_SHARES_AND_LOOT) { didPass = false; } // Make the proposal fail if it is requesting more tokens as payment than the available guild bank balance if (proposal.paymentRequested > userTokenBalances[GUILD][proposal.paymentToken]) { didPass = false; } // Make the proposal fail if it would result in too many tokens with non-zero balance in guild bank if (proposal.tributeOffered > 0 && userTokenBalances[GUILD][proposal.tributeToken] == 0 && totalGuildBankTokens >= MAX_TOKEN_GUILDBANK_COUNT) { didPass = false; } // PROPOSAL PASSED if (didPass) { proposal.flags[2] = true; // didPass // if the applicant is already a member, add to their existing shares & loot if (members[proposal.applicant].exists) { members[proposal.applicant].shares = members[proposal.applicant].shares.add(proposal.sharesRequested); members[proposal.applicant].loot = members[proposal.applicant].loot.add(proposal.lootRequested); // the applicant is a new member, create a new record for them } else { // if the applicant address is already taken by a member's delegateKey, reset it to their member address if (members[memberAddressByDelegateKey[proposal.applicant]].exists) { address memberToOverride = memberAddressByDelegateKey[proposal.applicant]; memberAddressByDelegateKey[memberToOverride] = memberToOverride; members[memberToOverride].delegateKey = memberToOverride; } // use applicant address as delegateKey by default members[proposal.applicant] = Member(proposal.applicant, proposal.sharesRequested, proposal.lootRequested, true, 0, 0); memberAddressByDelegateKey[proposal.applicant] = proposal.applicant; } // mint new shares & loot totalShares = totalShares.add(proposal.sharesRequested); totalLoot = totalLoot.add(proposal.lootRequested); // if the proposal tribute is the first tokens of its kind to make it into the guild bank, increment total guild bank tokens if (userTokenBalances[GUILD][proposal.tributeToken] == 0 && proposal.tributeOffered > 0) { totalGuildBankTokens += 1; } unsafeInternalTransfer(ESCROW, GUILD, proposal.tributeToken, proposal.tributeOffered); unsafeInternalTransfer(GUILD, proposal.applicant, proposal.paymentToken, proposal.paymentRequested); // if the proposal spends 100% of guild bank balance for a token, decrement total guild bank tokens if (userTokenBalances[GUILD][proposal.paymentToken] == 0 && proposal.paymentRequested > 0) { totalGuildBankTokens -= 1; } // PROPOSAL FAILED } else { // return all tokens to the proposer (not the applicant, because funds come from proposer) unsafeInternalTransfer(ESCROW, proposal.proposer, proposal.tributeToken, proposal.tributeOffered); } _returnDeposit(proposal.sponsor); emit ProcessProposal(proposalIndex, proposalId, didPass); } function processWhitelistProposal(uint256 proposalIndex) public nonReentrant { _validateProposalForProcessing(proposalIndex); uint256 proposalId = proposalQueue[proposalIndex]; Proposal storage proposal = proposals[proposalId]; require(proposal.flags[4], "must be a whitelist proposal"); proposal.flags[1] = true; // processed bool didPass = _didPass(proposalIndex); if (approvedTokens.length >= MAX_TOKEN_WHITELIST_COUNT) { didPass = false; } if (didPass) { proposal.flags[2] = true; // didPass tokenWhitelist[address(proposal.tributeToken)] = true; approvedTokens.push(proposal.tributeToken); } proposedToWhitelist[address(proposal.tributeToken)] = false; _returnDeposit(proposal.sponsor); emit ProcessWhitelistProposal(proposalIndex, proposalId, didPass); } function processGuildKickProposal(uint256 proposalIndex) public nonReentrant { _validateProposalForProcessing(proposalIndex); uint256 proposalId = proposalQueue[proposalIndex]; Proposal storage proposal = proposals[proposalId]; require(proposal.flags[5], "must be a guild kick proposal"); proposal.flags[1] = true; // processed bool didPass = _didPass(proposalIndex); if (didPass) { proposal.flags[2] = true; // didPass Member storage member = members[proposal.applicant]; member.jailed = proposalIndex; // transfer shares to loot member.loot = member.loot.add(member.shares); totalShares = totalShares.sub(member.shares); totalLoot = totalLoot.add(member.shares); member.shares = 0; // revoke all shares } proposedToKick[proposal.applicant] = false; _returnDeposit(proposal.sponsor); emit ProcessGuildKickProposal(proposalIndex, proposalId, didPass); } function _didPass(uint256 proposalIndex) internal returns (bool didPass) { Proposal memory proposal = proposals[proposalQueue[proposalIndex]]; didPass = proposal.yesVotes > proposal.noVotes; // Make the proposal fail if the dilutionBound is exceeded if ((totalShares.add(totalLoot)).mul(dilutionBound) < proposal.maxTotalSharesAndLootAtYesVote) { didPass = false; } // Make the proposal fail if the applicant is jailed // - for standard proposals, we don't want the applicant to get any shares/loot/payment // - for guild kick proposals, we should never be able to propose to kick a jailed member (or have two kick proposals active), so it doesn't matter if (members[proposal.applicant].jailed != 0) { didPass = false; } return didPass; } function _validateProposalForProcessing(uint256 proposalIndex) internal view { require(proposalIndex < proposalQueue.length, "proposal does not exist"); Proposal memory proposal = proposals[proposalQueue[proposalIndex]]; require(getCurrentPeriod() >= proposal.startingPeriod.add(votingPeriodLength).add(gracePeriodLength), "proposal is not ready to be processed"); require(proposal.flags[1] == false, "proposal has already been processed"); require(proposalIndex == 0 || proposals[proposalQueue[proposalIndex.sub(1)]].flags[1], "previous proposal must be processed"); } function _returnDeposit(address sponsor) internal { unsafeInternalTransfer(ESCROW, msg.sender, depositToken, processingReward); unsafeInternalTransfer(ESCROW, sponsor, depositToken, proposalDeposit.sub(processingReward)); } function ragequit(uint256 sharesToBurn, uint256 lootToBurn) public nonReentrant onlyMember { _ragequit(msg.sender, sharesToBurn, lootToBurn); } function _ragequit(address memberAddress, uint256 sharesToBurn, uint256 lootToBurn) internal { uint256 initialTotalSharesAndLoot = totalShares.add(totalLoot); Member storage member = members[memberAddress]; require(member.shares >= sharesToBurn, "insufficient shares"); require(member.loot >= lootToBurn, "insufficient loot"); require(canRagequit(member.highestIndexYesVote), "cannot ragequit until highest index proposal member voted YES on is processed"); uint256 sharesAndLootToBurn = sharesToBurn.add(lootToBurn); // burn shares and loot member.shares = member.shares.sub(sharesToBurn); member.loot = member.loot.sub(lootToBurn); totalShares = totalShares.sub(sharesToBurn); totalLoot = totalLoot.sub(lootToBurn); for (uint256 i = 0; i < approvedTokens.length; i++) { uint256 amountToRagequit = fairShare(userTokenBalances[GUILD][approvedTokens[i]], sharesAndLootToBurn, initialTotalSharesAndLoot); if (amountToRagequit > 0) { // gas optimization to allow a higher maximum token limit // deliberately not using safemath here to keep overflows from preventing the function execution (which would break ragekicks) // if a token overflows, it is because the supply was artificially inflated to oblivion, so we probably don't care about it anyways userTokenBalances[GUILD][approvedTokens[i]] -= amountToRagequit; userTokenBalances[memberAddress][approvedTokens[i]] += amountToRagequit; } } emit Ragequit(msg.sender, sharesToBurn, lootToBurn); } function ragekick(address memberToKick) public nonReentrant { Member storage member = members[memberToKick]; require(member.jailed != 0, "member must be in jail"); require(member.loot > 0, "member must have some loot"); // note - should be impossible for jailed member to have shares require(canRagequit(member.highestIndexYesVote), "cannot ragequit until highest index proposal member voted YES on is processed"); _ragequit(memberToKick, 0, member.loot); } function withdrawBalance(address token, uint256 amount) public nonReentrant { _withdrawBalance(token, amount); } function withdrawBalances(address[] memory tokens, uint256[] memory amounts, bool max) public nonReentrant { require(tokens.length == amounts.length, "tokens and amounts arrays must be matching lengths"); for (uint256 i=0; i < tokens.length; i++) { uint256 withdrawAmount = amounts[i]; if (max) { // withdraw the maximum balance withdrawAmount = userTokenBalances[msg.sender][tokens[i]]; } _withdrawBalance(tokens[i], withdrawAmount); } } function _withdrawBalance(address token, uint256 amount) internal { require(userTokenBalances[msg.sender][token] >= amount, "insufficient balance"); unsafeSubtractFromBalance(msg.sender, token, amount); require(IERC20(token).transfer(msg.sender, amount), "transfer failed"); emit Withdraw(msg.sender, token, amount); } function collectTokens(address token) public onlyDelegate nonReentrant { uint256 amountToCollect = IERC20(token).balanceOf(address(this)).sub(userTokenBalances[TOTAL][token]); // only collect if 1) there are tokens to collect 2) token is whitelisted 3) token has non-zero balance require(amountToCollect > 0, 'no tokens to collect'); require(tokenWhitelist[token], 'token to collect must be whitelisted'); require(userTokenBalances[GUILD][token] > 0, 'token to collect must have non-zero guild bank balance'); unsafeAddToBalance(GUILD, token, amountToCollect); emit TokensCollected(token, amountToCollect); } // NOTE: requires that delegate key which sent the original proposal cancels, msg.sender == proposal.proposer function cancelProposal(uint256 proposalId) public nonReentrant { Proposal storage proposal = proposals[proposalId]; require(!proposal.flags[0], "proposal has already been sponsored"); require(!proposal.flags[3], "proposal has already been cancelled"); require(msg.sender == proposal.proposer, "solely the proposer can cancel"); proposal.flags[3] = true; // cancelled unsafeInternalTransfer(ESCROW, proposal.proposer, proposal.tributeToken, proposal.tributeOffered); emit CancelProposal(proposalId, msg.sender); } function updateDelegateKey(address newDelegateKey) public nonReentrant onlyShareholder { require(newDelegateKey != address(0), "newDelegateKey cannot be 0"); // skip checks if member is setting the delegate key to their member address if (newDelegateKey != msg.sender) { require(!members[newDelegateKey].exists, "cannot overwrite existing members"); require(!members[memberAddressByDelegateKey[newDelegateKey]].exists, "cannot overwrite existing delegate keys"); } Member storage member = members[msg.sender]; memberAddressByDelegateKey[member.delegateKey] = address(0); memberAddressByDelegateKey[newDelegateKey] = msg.sender; member.delegateKey = newDelegateKey; emit UpdateDelegateKey(msg.sender, newDelegateKey); } // can only ragequit if the latest proposal you voted YES on has been processed function canRagequit(uint256 highestIndexYesVote) public view returns (bool) { require(highestIndexYesVote < proposalQueue.length, "proposal does not exist"); return proposals[proposalQueue[highestIndexYesVote]].flags[1]; } function hasVotingPeriodExpired(uint256 startingPeriod) public view returns (bool) { return getCurrentPeriod() >= startingPeriod.add(votingPeriodLength); } /*************** GETTER FUNCTIONS ***************/ function max(uint256 x, uint256 y) internal pure returns (uint256) { return x >= y ? x : y; } function getCurrentPeriod() public view returns (uint256) { return now.sub(summoningTime).div(periodDuration); } function getProposalQueueLength() public view returns (uint256) { return proposalQueue.length; } function getProposalFlags(uint256 proposalId) public view returns (bool[6] memory) { return proposals[proposalId].flags; } function getUserTokenBalance(address user, address token) public view returns (uint256) { return userTokenBalances[user][token]; } function getMemberProposalVote(address memberAddress, uint256 proposalIndex) public view returns (Vote) { require(members[memberAddress].exists, "member does not exist"); require(proposalIndex < proposalQueue.length, "proposal does not exist"); return proposals[proposalQueue[proposalIndex]].votesByMember[memberAddress]; } function getTokenCount() public view returns (uint256) { return approvedTokens.length; } /*************** HELPER FUNCTIONS ***************/ function unsafeAddToBalance(address user, address token, uint256 amount) internal { userTokenBalances[user][token] += amount; userTokenBalances[TOTAL][token] += amount; } function unsafeSubtractFromBalance(address user, address token, uint256 amount) internal { userTokenBalances[user][token] -= amount; userTokenBalances[TOTAL][token] -= amount; } function unsafeInternalTransfer(address from, address to, address token, uint256 amount) internal { unsafeSubtractFromBalance(from, token, amount); unsafeAddToBalance(to, token, amount); } function fairShare(uint256 balance, uint256 shares, uint256 totalShares) internal pure returns (uint256) { require(totalShares != 0); if (balance == 0) { return 0; } uint256 prod = balance * shares; if (prod / balance == shares) { // no overflow in multiplication above? return prod / totalShares; } return (balance / totalShares) * shares; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"proposals","outputs":[{"name":"applicant","type":"address"},{"name":"proposer","type":"address"},{"name":"sponsor","type":"address"},{"name":"sharesRequested","type":"uint256"},{"name":"lootRequested","type":"uint256"},{"name":"tributeOffered","type":"uint256"},{"name":"tributeToken","type":"address"},{"name":"paymentRequested","type":"uint256"},{"name":"paymentToken","type":"address"},{"name":"startingPeriod","type":"uint256"},{"name":"yesVotes","type":"uint256"},{"name":"noVotes","type":"uint256"},{"name":"details","type":"string"},{"name":"maxTotalSharesAndLootAtYesVote","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"processingReward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"memberAddress","type":"address"},{"name":"proposalIndex","type":"uint256"}],"name":"getMemberProposalVote","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCurrentPeriod","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"members","outputs":[{"name":"delegateKey","type":"address"},{"name":"shares","type":"uint256"},{"name":"loot","type":"uint256"},{"name":"exists","type":"bool"},{"name":"highestIndexYesVote","type":"uint256"},{"name":"jailed","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"amount","type":"uint256"}],"name":"withdrawBalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"memberToKick","type":"address"},{"name":"details","type":"string"}],"name":"submitGuildKickProposal","outputs":[{"name":"proposalId","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"sharesToBurn","type":"uint256"},{"name":"lootToBurn","type":"uint256"}],"name":"ragequit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"approvedTokens","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newDelegateKey","type":"address"}],"name":"updateDelegateKey","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"TOTAL","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"proposalIndex","type":"uint256"}],"name":"processWhitelistProposal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalShares","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"proposalQueue","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"proposedToKick","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"memberAddressByDelegateKey","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokens","type":"address[]"},{"name":"amounts","type":"uint256[]"},{"name":"max","type":"bool"}],"name":"withdrawBalances","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"userTokenBalances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"applicant","type":"address"},{"name":"sharesRequested","type":"uint256"},{"name":"lootRequested","type":"uint256"},{"name":"tributeOffered","type":"uint256"},{"name":"tributeToken","type":"address"},{"name":"paymentRequested","type":"uint256"},{"name":"paymentToken","type":"address"},{"name":"details","type":"string"}],"name":"submitProposal","outputs":[{"name":"proposalId","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"}],"name":"collectTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalLoot","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"gracePeriodLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"user","type":"address"},{"name":"token","type":"address"}],"name":"getUserTokenBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"tokenWhitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getTokenCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getProposalQueueLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"summoningTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"votingPeriodLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proposalDeposit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"startingPeriod","type":"uint256"}],"name":"hasVotingPeriodExpired","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"proposalId","type":"uint256"}],"name":"sponsorProposal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"proposalIndex","type":"uint256"},{"name":"uintVote","type":"uint8"}],"name":"submitVote","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalGuildBankTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"highestIndexYesVote","type":"uint256"}],"name":"canRagequit","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"dilutionBound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"proposalId","type":"uint256"}],"name":"getProposalFlags","outputs":[{"name":"","type":"bool[6]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"periodDuration","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"depositToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proposalCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"memberToKick","type":"address"}],"name":"ragekick","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"proposalId","type":"uint256"}],"name":"cancelProposal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"proposedToWhitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"proposalIndex","type":"uint256"}],"name":"processGuildKickProposal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"proposalIndex","type":"uint256"}],"name":"processProposal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ESCROW","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"GUILD","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokenToWhitelist","type":"address"},{"name":"details","type":"string"}],"name":"submitWhitelistProposal","outputs":[{"name":"proposalId","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_summoner","type":"address"},{"name":"_approvedTokens","type":"address[]"},{"name":"_periodDuration","type":"uint256"},{"name":"_votingPeriodLength","type":"uint256"},{"name":"_gracePeriodLength","type":"uint256"},{"name":"_proposalDeposit","type":"uint256"},{"name":"_dilutionBound","type":"uint256"},{"name":"_processingReward","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"summoner","type":"address"},{"indexed":false,"name":"tokens","type":"address[]"},{"indexed":false,"name":"summoningTime","type":"uint256"},{"indexed":false,"name":"periodDuration","type":"uint256"},{"indexed":false,"name":"votingPeriodLength","type":"uint256"},{"indexed":false,"name":"gracePeriodLength","type":"uint256"},{"indexed":false,"name":"proposalDeposit","type":"uint256"},{"indexed":false,"name":"dilutionBound","type":"uint256"},{"indexed":false,"name":"processingReward","type":"uint256"}],"name":"SummonComplete","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"applicant","type":"address"},{"indexed":false,"name":"sharesRequested","type":"uint256"},{"indexed":false,"name":"lootRequested","type":"uint256"},{"indexed":false,"name":"tributeOffered","type":"uint256"},{"indexed":false,"name":"tributeToken","type":"address"},{"indexed":false,"name":"paymentRequested","type":"uint256"},{"indexed":false,"name":"paymentToken","type":"address"},{"indexed":false,"name":"details","type":"string"},{"indexed":false,"name":"flags","type":"bool[6]"},{"indexed":false,"name":"proposalId","type":"uint256"},{"indexed":true,"name":"delegateKey","type":"address"},{"indexed":true,"name":"memberAddress","type":"address"}],"name":"SubmitProposal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"delegateKey","type":"address"},{"indexed":true,"name":"memberAddress","type":"address"},{"indexed":false,"name":"proposalId","type":"uint256"},{"indexed":false,"name":"proposalIndex","type":"uint256"},{"indexed":false,"name":"startingPeriod","type":"uint256"}],"name":"SponsorProposal","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"proposalId","type":"uint256"},{"indexed":true,"name":"proposalIndex","type":"uint256"},{"indexed":true,"name":"delegateKey","type":"address"},{"indexed":true,"name":"memberAddress","type":"address"},{"indexed":false,"name":"uintVote","type":"uint8"}],"name":"SubmitVote","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"proposalIndex","type":"uint256"},{"indexed":true,"name":"proposalId","type":"uint256"},{"indexed":false,"name":"didPass","type":"bool"}],"name":"ProcessProposal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"proposalIndex","type":"uint256"},{"indexed":true,"name":"proposalId","type":"uint256"},{"indexed":false,"name":"didPass","type":"bool"}],"name":"ProcessWhitelistProposal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"proposalIndex","type":"uint256"},{"indexed":true,"name":"proposalId","type":"uint256"},{"indexed":false,"name":"didPass","type":"bool"}],"name":"ProcessGuildKickProposal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"memberAddress","type":"address"},{"indexed":false,"name":"sharesToBurn","type":"uint256"},{"indexed":false,"name":"lootToBurn","type":"uint256"}],"name":"Ragequit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"token","type":"address"},{"indexed":false,"name":"amountToCollect","type":"uint256"}],"name":"TokensCollected","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"proposalId","type":"uint256"},{"indexed":false,"name":"applicantAddress","type":"address"}],"name":"CancelProposal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"memberAddress","type":"address"},{"indexed":false,"name":"newDelegateKey","type":"address"}],"name":"UpdateDelegateKey","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"memberAddress","type":"address"},{"indexed":false,"name":"token","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102b2576000357c010000000000000000000000000000000000000000000000000000000090048063753d756311610184578063b2643aab116100eb578063e1780345116100a4578063e178034514610b0c578063e1a0e3fa14610b32578063e63bc62d14610b4f578063e681c4aa14610b6c578063f5d54c7714610b74578063feb7ea1d14610b7c576102b2565b8063b2643aab14610a5c578063b470aade14610ab1578063c89039c514610ab9578063da35c66414610ac1578063dfdd369e14610ac9578063e0a8f6f514610aef576102b2565b80639425a4761161013d5780639425a476146109cf5780639746d940146109ec57806399653fbe14610a095780639d1722cb14610a2f578063a3dc380014610a37578063afe5475f14610a54576102b2565b8063753d75631461098157806378a89567146109a7578063797daf70146109af5780637d5b6c72146109b75780638340bbce146109bf5780638b15a605146109c7576102b2565b80633793ab3c1161022857806345f2d105116101e157806345f2d1051461080f578063590f940b1461083d57806359999b411461091d578063635e99aa1461094357806363858f2d1461094b57806373f8fd4b14610953576102b2565b80633793ab3c146106445780633a98ef39146106615780633b214a74146106695780633fc24bba14610686578063402c1794146106c05780634482394b146106e6576102b2565b80630cf20cc91161027a5780630cf20cc9146104d6578063115b2d181461050457806315eb349e146105ba5780631dafede0146105dd5780632582bf2a1461061657806327efc0861461063c576102b2565b8063013cf08b146102b757806303e32fa114610401578063044a0ca81461041b578063086146d21461046b57806308ae4b0c14610473575b600080fd5b6102d4600480360360208110156102cd57600080fd5b5035610c32565b604051808f600160a060020a0316600160a060020a031681526020018e600160a060020a0316600160a060020a031681526020018d600160a060020a0316600160a060020a031681526020018c81526020018b81526020018a815260200189600160a060020a0316600160a060020a0316815260200188815260200187600160a060020a0316600160a060020a0316815260200186815260200185815260200184815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b838110156103b95781810151838201526020016103a1565b50505050905090810190601f1680156103e65780820380516001836020036101000a031916815260200191505b509f5050505050505050505050505050505060405180910390f35b610409610d95565b60408051918252519081900360200190f35b6104476004803603604081101561043157600080fd5b50600160a060020a038135169060200135610d9b565b6040518082600281111561045757fe5b60ff16815260200191505060405180910390f35b610409610ea9565b6104996004803603602081101561048957600080fd5b5035600160a060020a0316610ed8565b60408051600160a060020a0390971687526020870195909552858501939093529015156060850152608084015260a0830152519081900360c00190f35b610502600480360360408110156104ec57600080fd5b50600160a060020a038135169060200135610f1b565b005b6104096004803603604081101561051a57600080fd5b600160a060020a03823516919081019060408101602082013564010000000081111561054557600080fd5b82018360208201111561055757600080fd5b8035906020019184600183028401116401000000008311171561057957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610f8a945050505050565b610502600480360360408110156105d057600080fd5b5080359060200135611135565b6105fa600480360360208110156105f357600080fd5b5035611216565b60408051600160a060020a039092168252519081900360200190f35b6105026004803603602081101561062c57600080fd5b5035600160a060020a031661123e565b6105fa6114d5565b6105026004803603602081101561065a57600080fd5b50356114db565b61040961171c565b6104096004803603602081101561067f57600080fd5b5035611722565b6106ac6004803603602081101561069c57600080fd5b5035600160a060020a0316611741565b604080519115158252519081900360200190f35b6105fa600480360360208110156106d657600080fd5b5035600160a060020a0316611756565b610502600480360360608110156106fc57600080fd5b81019060208101813564010000000081111561071757600080fd5b82018360208201111561072957600080fd5b8035906020019184602083028401116401000000008311171561074b57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561079b57600080fd5b8201836020820111156107ad57600080fd5b803590602001918460208302840111640100000000831117156107cf57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505050503515159050611771565b6104096004803603604081101561082557600080fd5b50600160a060020a03813581169160200135166118c1565b610409600480360361010081101561085457600080fd5b600160a060020a038235811692602081013592604082013592606083013592608081013582169260a08201359260c0830135169190810190610100810160e08201356401000000008111156108a857600080fd5b8201836020820111156108ba57600080fd5b803590602001918460018302840111640100000000831117156108dc57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506118de945050505050565b6105026004803603602081101561093357600080fd5b5035600160a060020a0316611d72565b610409612084565b61040961208a565b6104096004803603604081101561096957600080fd5b50600160a060020a0381358116916020013516612090565b6106ac6004803603602081101561099757600080fd5b5035600160a060020a03166120bb565b6104096120d0565b6104096120d6565b6104096120dc565b6104096120e2565b6104096120e8565b6106ac600480360360208110156109e557600080fd5b50356120ee565b61050260048036036020811015610a0257600080fd5b5035612115565b61050260048036036040811015610a1f57600080fd5b508035906020013560ff16612854565b610409612d50565b6106ac60048036036020811015610a4d57600080fd5b5035612d56565b610409612dfa565b610a7960048036036020811015610a7257600080fd5b5035612e00565b604051808260c080838360005b83811015610a9e578181015183820152602001610a86565b5050505090500191505060405180910390f35b610409612e6a565b6105fa612e70565b610409612e7f565b61050260048036036020811015610adf57600080fd5b5035600160a060020a0316612e85565b61050260048036036020811015610b0557600080fd5b5035613002565b6106ac60048036036020811015610b2257600080fd5b5035600160a060020a03166131e2565b61050260048036036020811015610b4857600080fd5b50356131f7565b61050260048036036020811015610b6557600080fd5b5035613416565b6105fa6139e6565b6105fa6139ec565b61040960048036036040811015610b9257600080fd5b600160a060020a038235169190810190604081016020820135640100000000811115610bbd57600080fd5b820183602082011115610bcf57600080fd5b80359060200191846001830284011164010000000083111715610bf157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506139f2945050505050565b60146020528060005260406000206000915090508060000160009054906101000a9004600160a060020a0316908060010160009054906101000a9004600160a060020a0316908060020160009054906101000a9004600160a060020a0316908060030154908060040154908060050154908060060160009054906101000a9004600160a060020a0316908060070154908060080160009054906101000a9004600160a060020a03169080600901549080600a01549080600b01549080600d018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d855780601f10610d5a57610100808354040283529160200191610d85565b820191906000526020600020905b815481529060010190602001808311610d6857829003601f168201915b50505050509080600e015490508e565b60065481565b600160a060020a03821660009081526012602052604081206003015460ff161515610e10576040805160e560020a62461bcd02815260206004820152601560248201527f6d656d62657220646f6573206e6f742065786973740000000000000000000000604482015290519081900360640190fd5b6015548210610e57576040805160e560020a62461bcd028152602060048201526017602482015260008051602061514b833981519152604482015290519081900360640190fd5b60146000601584815481101515610e6a57fe5b600091825260208083209091015483528281019390935260409182018120600160a060020a0387168252600f0190925290205460ff1690505b92915050565b6000610ed2600154610ec660075442613b8490919063ffffffff16565b9063ffffffff613bcd16565b90505b90565b601260205260009081526040902080546001820154600283015460038401546004850154600590950154600160a060020a03909416949293919260ff9091169186565b60005460ff161515610f65576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff19169055610f798282613c0f565b50506000805460ff19166001179055565b6000805460ff161515610fd5576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff19169055610fe7614db6565b50600160a060020a038084166000908152601260209081526040808320815160c081018352815490951685526001810154928501839052600281015491850191909152600381015460ff1615156060850152600481015460808501526005015460a0840152118061105c575060008160400151115b151561109c5760405160e560020a62461bcd02815260040180806020018281038252602f8152602001806151d9602f913960400191505060405180910390fd5b600160a060020a038416600090815260126020526040902060050154156110f75760405160e560020a62461bcd02815260040180806020018281038252602181526020018061512a6021913960400191505060405180910390fd5b6110ff614df8565b600160a082015261111885600080808080808b89613dc6565b50506009546000805460ff19166001179055600019019392505050565b60005460ff16151561117f576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff191681553381526012602052604081206001015411806111b5575033600090815260126020526040812060020154115b151561120b576040805160e560020a62461bcd02815260206004820152600c60248201527f6e6f742061206d656d6265720000000000000000000000000000000000000000604482015290519081900360640190fd5b610f79338383614181565b600f80548290811061122457fe5b600091825260209091200154600160a060020a0316905081565b60005460ff161515611288576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff1916815533815260126020526040812060010154116112f7576040805160e560020a62461bcd02815260206004820152601160248201527f6e6f742061207368617265686f6c646572000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0381161515611357576040805160e560020a62461bcd02815260206004820152601a60248201527f6e657744656c65676174654b65792063616e6e6f742062652030000000000000604482015290519081900360640190fd5b600160a060020a038116331461143257600160a060020a03811660009081526012602052604090206003015460ff16156113c55760405160e560020a62461bcd0281526004018080602001828103825260218152602001806152f96021913960400191505060405180910390fd5b600160a060020a03808216600090815260136020908152604080832054909316825260129052206003015460ff16156114325760405160e560020a62461bcd0281526004018080602001828103825260278152602001806150066027913960400191505060405180910390fd5b3360008181526012602090815260408083208054600160a060020a03908116855260138452828520805473ffffffffffffffffffffffffffffffffffffffff1990811690915590871680865294839020805482168717905581541684178155815193845290519093927fde7b64a369e10562cc2e71f0f1f944eaf144b75fead6ecb51fac9c4dd693488592908290030190a250506000805460ff19166001179055565b61babe81565b60005460ff161515611525576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff191690556115388161449e565b600060158281548110151561154957fe5b60009182526020808320919091015480835260149091526040909120600c81015491925090640100000000900460ff1615156115cf576040805160e560020a62461bcd02815260206004820152601c60248201527f6d75737420626520612077686974656c6973742070726f706f73616c00000000604482015290519081900360640190fd5b600c8101805461ff00191661010017905560006115eb8461480d565b600f54909150610190116115fd575060005b801561169b57600c8201805462ff0000191662010000179055600682018054600160a060020a039081166000908152600e60205260408120805460ff191660019081179091559254600f805494850181559091527f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80290920180549290911673ffffffffffffffffffffffffffffffffffffffff199092169190911790555b6006820154600160a060020a039081166000908152601060205260409020805460ff1916905560028301546116d09116614a4e565b6040805182151581529051849186917f2094fc13d2ecb0acd6861e82bd006c7e5ab6f312ec0c6cdfe3d1a01ee54d885a9181900360200190a350506000805460ff191660011790555050565b600a5481565b601580548290811061173057fe5b600091825260209091200154905081565b60116020526000908152604090205460ff1681565b601360205260009081526040902054600160a060020a031681565b60005460ff1615156117bb576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff1916905581518351146118085760405160e560020a62461bcd0281526004018080602001828103825260328152602001806152086032913960400191505060405180910390fd5b60005b83518110156118ae576000838281518110151561182457fe5b906020019060200201519050821561188457336000908152600d60205260408120865190919087908590811061185657fe5b90602001906020020151600160a060020a0316600160a060020a031681526020019081526020016000205490505b6118a5858381518110151561189557fe5b9060200190602002015182613c0f565b5060010161180b565b50506000805460ff191660011790555050565b600d60209081526000928352604080842090915290825290205481565b6000805460ff161515611929576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff19169055670de0b6b3a764000061194c898963ffffffff614aa316565b11156119a2576040805160e560020a62461bcd02815260206004820152601960248201527f746f6f206d616e79207368617265732072657175657374656400000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600e602052604090205460ff161515611a14576040805160e560020a62461bcd02815260206004820152601f60248201527f74726962757465546f6b656e206973206e6f742077686974656c697374656400604482015290519081900360640190fd5b600160a060020a0383166000908152600e602052604090205460ff161515611a86576040805160e560020a62461bcd02815260206004820152601a60248201527f7061796d656e74206973206e6f742077686974656c6973746564000000000000604482015290519081900360640190fd5b600160a060020a0389161515611ae6576040805160e560020a62461bcd02815260206004820152601560248201527f6170706c6963616e742063616e6e6f7420626520300000000000000000000000604482015290519081900360640190fd5b600160a060020a03891661dead14801590611b0c5750600160a060020a03891661beef14155b8015611b235750600160a060020a03891661babe14155b1515611b635760405160e560020a62461bcd0281526004018080602001828103825260248152602001806150bf6024913960400191505060405180910390fd5b600160a060020a03891660009081526012602052604090206005015415611bbe5760405160e560020a62461bcd0281526004018080602001828103825260258152602001806152906025913960400191505060405180910390fd5b600086118015611bf15750600160a060020a038516600090815260008051602061523a8339815191526020526040902054155b15611c3a57600c5460c811611c3a5760405160e560020a62461bcd0281526004018080602001828103825260478152602001806150e36047913960600191505060405180910390fd5b604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018890529051600160a060020a038716916323b872dd9160648083019260209291908290030181600087803b158015611ca857600080fd5b505af1158015611cbc573d6000803e3d6000fd5b505050506040513d6020811015611cd257600080fd5b50511515611d2a576040805160e560020a62461bcd02815260206004820152601d60248201527f7472696275746520746f6b656e207472616e73666572206661696c6564000000604482015290519081900360640190fd5b611d3761beef8688614b00565b611d3f614df8565b611d508a8a8a8a8a8a8a8a89613dc6565b5050600954600019016000805460ff1916600117905598975050505050505050565b33600090815260136020908152604080832054600160a060020a03168352601290915281206001015411611df0576040805160e560020a62461bcd02815260206004820152600e60248201527f6e6f7420612064656c6567617465000000000000000000000000000000000000604482015290519081900360640190fd5b60005460ff161515611e3a576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff19168155600160a060020a0382168082527fa30f7a7832bd8a7a8daa3a3f5b7a6f7cec6a2fbb1a121fa5b76520e44736771c602090815260408084205481517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529151611f0c94919391926370a08231926024808301939192829003018186803b158015611ed457600080fd5b505afa158015611ee8573d6000803e3d6000fd5b505050506040513d6020811015611efe57600080fd5b50519063ffffffff613b8416565b905060008111611f66576040805160e560020a62461bcd02815260206004820152601460248201527f6e6f20746f6b656e7320746f20636f6c6c656374000000000000000000000000604482015290519081900360640190fd5b600160a060020a0382166000908152600e602052604090205460ff161515611fc25760405160e560020a62461bcd02815260040180806020018281038252602481526020018061518e6024913960400191505060405180910390fd5b600160a060020a038216600090815260008051602061523a8339815191526020526040812054116120275760405160e560020a62461bcd02815260040180806020018281038252603681526020018061525a6036913960400191505060405180910390fd5b61203461dead8383614b00565b604080518281529051600160a060020a038416917f9381e53ffdc9733a6783a6f8665be3f89c231bb81a6771996ed553b4e75c0fe3919081900360200190a250506000805460ff19166001179055565b600b5481565b60035481565b600160a060020a039182166000908152600d6020908152604080832093909416825291909152205490565b600e6020526000908152604090205460ff1681565b600f5490565b60155490565b60075481565b60025481565b60045481565b600061210560025483614aa390919063ffffffff16565b61210d610ea9565b101592915050565b60005460ff16151561215f576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff1916815533815260136020908152604080832054600160a060020a031683526012909152812060010154116121e4576040805160e560020a62461bcd02815260206004820152600e60248201527f6e6f7420612064656c6567617465000000000000000000000000000000000000604482015290519081900360640190fd5b60085460048054604080517f23b872dd0000000000000000000000000000000000000000000000000000000081523393810193909352306024840152604483019190915251600160a060020a03909216916323b872dd916064808201926020929091908290030181600087803b15801561225d57600080fd5b505af1158015612271573d6000803e3d6000fd5b505050506040513d602081101561228757600080fd5b505115156122c95760405160e560020a62461bcd0281526004018080602001828103825260268152602001806153886026913960400191505060405180910390fd5b6008546004546122e89161beef91600160a060020a0390911690614b00565b60008181526014602052604090206001810154600160a060020a0316151561235a576040805160e560020a62461bcd02815260206004820181905260248201527f70726f706f73616c206d7573742068617665206265656e2070726f706f736564604482015290519081900360640190fd5b600c81015460ff16156123a15760405160e560020a62461bcd0281526004018080602001828103825260238152602001806152b56023913960400191505060405180910390fd5b600c8101546301000000900460ff1615612405576040805160e560020a62461bcd02815260206004820152601b60248201527f70726f706f73616c20686173206265656e2063616e63656c6c65640000000000604482015290519081900360640190fd5b8054600160a060020a0316600090815260126020526040902060050154156124615760405160e560020a62461bcd0281526004018080602001828103825260258152602001806152906025913960400191505060405180910390fd5b6000816005015411801561249c57506006810154600160a060020a0316600090815260008051602061523a8339815191526020526040902054155b156124e557600c5460c8116124e55760405160e560020a62461bcd0281526004018080602001828103825260488152602001806153406048913960600191505060405180910390fd5b600c810154640100000000900460ff161561263f576006810154600160a060020a03166000908152600e602052604090205460ff16156125595760405160e560020a62461bcd0281526004018080602001828103825260298152602001806153f36029913960400191505060405180910390fd5b6006810154600160a060020a031660009081526010602052604090205460ff16156125ce576040805160e560020a62461bcd02815260206004820152601d60248201527f616c72656164792070726f706f73656420746f2077686974656c697374000000604482015290519081900360640190fd5b600f54610190116126135760405160e560020a62461bcd0281526004018080602001828103825260278152602001806151b26027913960400191505060405180910390fd5b6006810154600160a060020a03166000908152601060205260409020805460ff191660011790556126ec565b600c81015465010000000000900460ff16156126ec578054600160a060020a031660009081526011602052604090205460ff16156126c7576040805160e560020a62461bcd02815260206004820152601860248201527f616c72656164792070726f706f73656420746f206b69636b0000000000000000604482015290519081900360640190fd5b8054600160a060020a03166000908152601160205260409020805460ff191660011790555b600061276160016127556126fe610ea9565b6015541561274d576015805460149160009161272190600163ffffffff613b8416565b8154811061272b57fe5b9060005260206000200154815260200190815260200160002060090154612750565b60005b614b5e565b9063ffffffff614aa316565b600983018190553360008181526013602052604081205460028601805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169182179055600c8601805460ff19166001908117909155601580548083018255938190527f55f448fdea98c4d29eb340757ef0a66cd03dbb9538908a6a81d96026b71ec4759093018890559154939450928392917f2a383a979381335e3eb401ac01dd8083e024ff0256bf5338456ffc0063390bbd9188916128229190613b84565b604080519283526020830191909152818101879052519081900360600190a350506000805460ff191660011790555050565b60005460ff16151561289e576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff1916815533815260136020908152604080832054600160a060020a03168352601290915281206001015411612923576040805160e560020a62461bcd02815260206004820152600e60248201527f6e6f7420612064656c6567617465000000000000000000000000000000000000604482015290519081900360640190fd5b33600090815260136020908152604080832054600160a060020a031680845260129092529091206015548410612991576040805160e560020a62461bcd028152602060048201526017602482015260008051602061514b833981519152604482015290519081900360640190fd5b6000601460006015878154811015156129a657fe5b90600052602060002001548152602001908152602001600020905060038460ff16101515612a1e576040805160e560020a62461bcd02815260206004820152601360248201527f6d757374206265206c657373207468616e203300000000000000000000000000604482015290519081900360640190fd5b60008460ff166002811115612a2f57fe5b90508160090154612a3e610ea9565b1015612a94576040805160e560020a62461bcd02815260206004820152601d60248201527f766f74696e6720706572696f6420686173206e6f742073746172746564000000604482015290519081900360640190fd5b612aa182600901546120ee565b15612ae05760405160e560020a62461bcd0281526004018080602001828103825260228152602001806153ae6022913960400191505060405180910390fd5b600160a060020a0384166000908152600f8301602052604081205460ff166002811115612b0957fe5b14612b5e576040805160e560020a62461bcd02815260206004820152601860248201527f6d656d6265722068617320616c726561647920766f7465640000000000000000604482015290519081900360640190fd5b6001816002811115612b6c57fe5b1480612b8357506002816002811115612b8157fe5b145b1515612bd9576040805160e560020a62461bcd02815260206004820152601d60248201527f766f7465206d7573742062652065697468657220596573206f72204e6f000000604482015290519081900360640190fd5b600160a060020a0384166000908152600f830160205260409020805482919060ff19166001836002811115612c0a57fe5b02179055506001816002811115612c1d57fe5b1415612c95576001830154600a830154612c3c9163ffffffff614aa316565b600a8301556004830154861115612c5557600483018690555b600e820154600b54600a54612c6f9163ffffffff614aa316565b1115612c9057600b54600a54612c8a9163ffffffff614aa316565b600e8301555b612cc8565b6002816002811115612ca357fe5b1415612cc8576001830154600b830154612cc29163ffffffff614aa316565b600b8301555b83600160a060020a031633600160a060020a0316877f804f03797630bf8b8a46b9371608abbf7d78a20df720e477bab641957ca68a2060158a815481101515612d0d57fe5b906000526020600020015489604051808381526020018260ff1660ff1681526020019250505060405180910390a450506000805460ff1916600117905550505050565b600c5481565b6015546000908210612da0576040805160e560020a62461bcd028152602060048201526017602482015260008051602061514b833981519152604482015290519081900360640190fd5b60146000601584815481101515612db357fe5b90600052602060002001548152602001908152602001600020600c016001600681101515612ddd57fe5b602081049091015460ff601f9092166101000a9004169050919050565b60055481565b612e08614df8565b600082815260146020526040808220815160c081019283905292600c909101916006918390855b825461010083900a900460ff161515815260206001928301818104948501949093039092029101808411612e2f575094979650505050505050565b60015481565b600854600160a060020a031681565b60095481565b60005460ff161515612ecf576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff19168155600160a060020a038216815260126020526040902060058101541515612f49576040805160e560020a62461bcd02815260206004820152601660248201527f6d656d626572206d75737420626520696e206a61696c00000000000000000000604482015290519081900360640190fd5b6002810154600010612fa5576040805160e560020a62461bcd02815260206004820152601a60248201527f6d656d626572206d757374206861766520736f6d65206c6f6f74000000000000604482015290519081900360640190fd5b612fb28160040154612d56565b1515612ff25760405160e560020a62461bcd02815260040180806020018281038252604d81526020018061504d604d913960600191505060405180910390fd5b610f798260008360020154614181565b60005460ff16151561304c576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff19168155818152601460205260409020600c81015460ff16156130a95760405160e560020a62461bcd0281526004018080602001828103825260238152602001806152b56023913960400191505060405180910390fd5b600c8101546301000000900460ff16156130f75760405160e560020a62461bcd0281526004018080602001828103825260238152602001806153d06023913960400191505060405180910390fd5b6001810154600160a060020a0316331461315b576040805160e560020a62461bcd02815260206004820152601e60248201527f736f6c656c79207468652070726f706f7365722063616e2063616e63656c0000604482015290519081900360640190fd5b600c8101805463ff0000001916630100000017905560018101546006820154600583015461319b9261beef92600160a060020a0391821692911690614b75565b60408051338152905183917fc215fed6680bb02d323dc3f8b8f85241572607538426059c9232601bd293c3be919081900360200190a250506000805460ff19166001179055565b60106020526000908152604090205460ff1681565b60005460ff161515613241576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff191690556132548161449e565b600060158281548110151561326557fe5b60009182526020808320919091015480835260149091526040909120600c8101549192509065010000000000900460ff1615156132ec576040805160e560020a62461bcd02815260206004820152601d60248201527f6d7573742062652061206775696c64206b69636b2070726f706f73616c000000604482015290519081900360640190fd5b600c8101805461ff00191661010017905560006133088461480d565b9050801561339857600c8201805462ff00001916620100001790558154600160a060020a03166000908152601260205260409020600581018590556001810154600282015461335691614aa3565b60028201556001810154600a546133729163ffffffff613b8416565b600a556001810154600b5461338c9163ffffffff614aa316565b600b5560006001909101555b8154600160a060020a039081166000908152601160205260409020805460ff1916905560028301546133ca9116614a4e565b6040805182151581529051849186917f0e347d00d3e9e6cdff9e6c09092c9ff1bd448f9b3dfb7091b30939ec5e7a3c739181900360200190a350506000805460ff191660011790555050565b60005460ff161515613460576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff191690556134738161449e565b600060158281548110151561348457fe5b60009182526020808320919091015480835260149091526040909120600c81015491925090640100000000900460ff161580156134cf5750600c81015465010000000000900460ff16155b1515613525576040805160e560020a62461bcd02815260206004820152601b60248201527f6d7573742062652061207374616e646172642070726f706f73616c0000000000604482015290519081900360640190fd5b600c8101805461ff00191661010017905560006135418461480d565b9050670de0b6b3a764000061357383600401546127558560030154612755600b54600a54614aa390919063ffffffff16565b111561357d575060005b6008820154600160a060020a0316600090815260008051602061523a8339815191526020526040902054600783015411156135b6575060005b600082600501541180156135f157506006820154600160a060020a0316600090815260008051602061523a8339815191526020526040902054155b8015613600575060c8600c5410155b15613609575060005b801561395857600c8201805462ff00001916620100001790558154600160a060020a031660009081526012602052604090206003015460ff16156136e05760038201548254600160a060020a03166000908152601260205260409020600101546136789163ffffffff614aa316565b8254600160a060020a039081166000908152601260205260408082206001019390935560048501548554909216815291909120600201546136be9163ffffffff614aa316565b8254600160a060020a031660009081526012602052604090206002015561383d565b8154600160a060020a03908116600090815260136020908152604080832054909316825260129052206003015460ff1615613771578154600160a060020a03908116600090815260136020908152604080832054909316808352838320805473ffffffffffffffffffffffffffffffffffffffff199081168317909155601290925292909120805490911690911790555b6040805160c0810182528354600160a060020a0390811680835260038087015460208086019182526004808a0154878901908152600160608901818152600060808b0181815260a08c01828152998252601287528c82209b518c54908c1673ffffffffffffffffffffffffffffffffffffffff19918216178d559751938c0193909355925160028b015551958901805496151560ff1990971696909617909555935190870155925160059095019490945586549092168083526013909152929020805490911690911790555b6003820154600a546138549163ffffffff614aa316565b600a556004820154600b5461386e9163ffffffff614aa316565b600b556006820154600160a060020a0316600090815260008051602061523a83398151915260205260409020541580156138ac575060008260050154115b156138bb57600c805460010190555b600682015460058301546138e09161beef9161dead91600160a060020a031690614b75565b8154600883015460078401546139089261dead92600160a060020a0391821692911690614b75565b6008820154600160a060020a0316600090815260008051602061523a8339815191526020526040902054158015613943575060008260070154115b1561395357600c80546000190190555b613983565b6001820154600683015460058401546139839261beef92600160a060020a0391821692911690614b75565b600282015461399a90600160a060020a0316614a4e565b6040805182151581529051849186917f86f74240ecee9e4230d26ff92e17fee978460d9c0f78f5c88b2864c9e7a494279181900360200190a350506000805460ff191660011790555050565b61beef81565b61dead81565b6000805460ff161515613a3d576040805160e560020a62461bcd02815260206004820152601f602482015260008051602061502d833981519152604482015290519081900360640190fd5b6000805460ff19169055600160a060020a0383161515613aa7576040805160e560020a62461bcd02815260206004820152601a60248201527f6d7573742070726f7669646520746f6b656e2061646472657373000000000000604482015290519081900360640190fd5b600160a060020a0383166000908152600e602052604090205460ff1615613b025760405160e560020a62461bcd0281526004018080602001828103825260298152602001806153f36029913960400191505060405180910390fd5b600f5461019011613b475760405160e560020a62461bcd02815260040180806020018281038252602681526020018061531a6026913960400191505060405180910390fd5b613b4f614df8565b60016080820152613b6860008080808881808a89613dc6565b5050600954600019016000805460ff1916600117905592915050565b6000613bc683836040805190810160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614b91565b9392505050565b6000613bc683836040805190810160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250614c2b565b336000908152600d60209081526040808320600160a060020a0386168452909152902054811115613c8a576040805160e560020a62461bcd02815260206004820152601460248201527f696e73756666696369656e742062616c616e6365000000000000000000000000604482015290519081900360640190fd5b613c95338383614c98565b604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018390529051600160a060020a0384169163a9059cbb9160448083019260209291908290030181600087803b158015613cfd57600080fd5b505af1158015613d11573d6000803e3d6000fd5b505050506040513d6020811015613d2757600080fd5b50511515613d7f576040805160e560020a62461bcd02815260206004820152600f60248201527f7472616e73666572206661696c65640000000000000000000000000000000000604482015290519081900360640190fd5b60408051600160a060020a038416815260208101839052815133927f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb928290030190a25050565b613dce614e17565b6101e0604051908101604052808b600160a060020a0316815260200133600160a060020a031681526020016000600160a060020a031681526020018a815260200189815260200188815260200187600160a060020a0316815260200186815260200185600160a060020a03168152602001600081526020016000815260200160008152602001838152602001848152602001600081525090508060146000600954815260200190815260200160002060008201518160000160006101000a815481600160a060020a030219169083600160a060020a0316021790555060208201518160010160006101000a815481600160a060020a030219169083600160a060020a0316021790555060408201518160020160006101000a815481600160a060020a030219169083600160a060020a03160217905550606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a815481600160a060020a030219169083600160a060020a0316021790555060e082015181600701556101008201518160080160006101000a815481600160a060020a030219169083600160a060020a03160217905550610120820151816009015561014082015181600a015561016082015181600b015561018082015181600c01906006613fc0929190614ec1565b506101a08201518051613fdd91600d840191602090910190614f53565b506101c082015181600e015590505060006013600033600160a060020a0316600160a060020a0316815260200190815260200160002060009054906101000a9004600160a060020a0316905080600160a060020a031633600160a060020a03168c600160a060020a03167fa763e0f5e4f4e33a3397b4ba22677c9b6fd2075ed6504596333006ff2f3e38748d8d8d8d8d8d8d8d600954604051808a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186815260200185600160a060020a0316600160a060020a031681526020018060200184600660200280838360005b838110156140e75781810151838201526020016140cf565b50505050905001838152602001828103825285818151815260200191508051906020019080838360005b83811015614129578181015183820152602001614111565b50505050905090810190601f1680156141565780820380516001836020036101000a031916815260200191505b509a505050505050505050505060405180910390a45050600980546001019055505050505050505050565b600061419a600b54600a54614aa390919063ffffffff16565b600160a060020a0385166000908152601260205260409020600181015491925090841115614212576040805160e560020a62461bcd02815260206004820152601360248201527f696e73756666696369656e742073686172657300000000000000000000000000604482015290519081900360640190fd5b600281015483111561426e576040805160e560020a62461bcd02815260206004820152601160248201527f696e73756666696369656e74206c6f6f74000000000000000000000000000000604482015290519081900360640190fd5b61427b8160040154612d56565b15156142bb5760405160e560020a62461bcd02815260040180806020018281038252604d81526020018061504d604d913960600191505060405180910390fd5b60006142cd858563ffffffff614aa316565b60018301549091506142e5908663ffffffff613b8416565b600183015560028201546142ff908563ffffffff613b8416565b6002830155600a54614317908663ffffffff613b8416565b600a55600b5461432d908563ffffffff613b8416565b600b5560005b600f5481101561445b5761dead6000908152600d602052600f805461439b9160008051602061523a833981519152918491908690811061436f57fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020548487614cf8565b905060008111156144525761dead6000908152600d602052600f8054839260008051602061523a833981519152929091869081106143d557fe5b6000918252602080832090910154600160a060020a0390811684528382019490945260409283018220805495909503909455918b168252600d909252908120600f8054849391908690811061442657fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020805490910190555b50600101614333565b506040805186815260208101869052815133927fcad1a1c68982832d9abc314de8a1e5d5e8c81b0588961e360766736d10c3be1a928290030190a2505050505050565b60155481106144e5576040805160e560020a62461bcd028152602060048201526017602482015260008051602061514b833981519152604482015290519081900360640190fd5b6144ed614e17565b6014600060158481548110151561450057fe5b6000918252602080832091909101548352828101939093526040918201812082516101e0810184528154600160a060020a039081168252600183015481169582019590955260028201548516818501526003820154606082015260048201546080820152600582015460a0820152600680830154861660c080840191909152600784015460e084015260088401549096166101008301526009830154610120830152600a830154610140830152600b83015461016083015284519586019485905290949193610180860193600c86019291908390855b825461010083900a900460ff1615158152602060019283018181049485019490930390920291018084116145d657505050928452505050600d8201805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529382019392918301828280156146995780601f1061466e57610100808354040283529160200191614699565b820191906000526020600020905b81548152906001019060200180831161467c57829003601f168201915b50505050508152602001600e8201548152505090506146ce600354612755600254846101200151614aa390919063ffffffff16565b6146d6610ea9565b10156147165760405160e560020a62461bcd02815260040180806020018281038252602581526020018061509a6025913960400191505060405180910390fd5b610180810151602001511561475f5760405160e560020a62461bcd02815260040180806020018281038252602381526020018061541c6023913960400191505060405180910390fd5b8115806147c9575060146000601561477e85600163ffffffff613b8416565b8154811061478857fe5b90600052602060002001548152602001908152602001600020600c0160016006811015156147b257fe5b602081049091015460ff601f9092166101000a9004165b15156148095760405160e560020a62461bcd02815260040180806020018281038252602381526020018061516b6023913960400191505060405180910390fd5b5050565b6000614817614e17565b6014600060158581548110151561482a57fe5b6000918252602080832091909101548352828101939093526040918201812082516101e0810184528154600160a060020a039081168252600183015481169582019590955260028201548516818501526003820154606082015260048201546080820152600582015460a0820152600680830154861660c080840191909152600784015460e084015260088401549096166101008301526009830154610120830152600a830154610140830152600b83015461016083015284519586019485905290949193610180860193600c86019291908390855b825461010083900a900460ff16151581526020600192830181810494850194909303909202910180841161490057505050928452505050600d8201805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529382019392918301828280156149c35780601f10614998576101008083540402835291602001916149c3565b820191906000526020600020905b8154815290600101906020018083116149a657829003601f168201915b50505050508152602001600e820154815250509050806101600151816101400151119150806101c00151614a16600554614a0a600b54600a54614aa390919063ffffffff16565b9063ffffffff614d5616565b1015614a2157600091505b8051600160a060020a031660009081526012602052604090206005015415614a4857600091505b50919050565b600854600654614a6d9161beef913391600160a060020a031690614b75565b600854600654600454614aa09261beef928592600160a060020a0390921691614a9b9163ffffffff613b8416565b614b75565b50565b600082820183811015613bc6576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600160a060020a039283166000908152600d602090815260408083209490951682529283528381208054830190557fa30f7a7832bd8a7a8daa3a3f5b7a6f7cec6a2fbb1a121fa5b76520e44736771c90925291902080549091019055565b600081831015614b6e5781613bc6565b5090919050565b614b80848383614c98565b614b8b838383614b00565b50505050565b60008184841115614c235760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614be8578181015183820152602001614bd0565b50505050905090810190601f168015614c155780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081818411614c805760405160e560020a62461bcd02815260040180806020018281038252838181518152602001915080519060200190808383600083811015614be8578181015183820152602001614bd0565b5060008385811515614c8e57fe5b0495945050505050565b600160a060020a039283166000908152600d60209081526040808320949095168252928352838120805483900390557fa30f7a7832bd8a7a8daa3a3f5b7a6f7cec6a2fbb1a121fa5b76520e44736771c9092529190208054919091039055565b6000811515614d0657600080fd5b831515614d1557506000613bc6565b838302838582811515614d2457fe5b041415614d3f578281811515614d3657fe5b04915050613bc6565b838386811515614d4b57fe5b040295945050505050565b6000821515614d6757506000610ea3565b828202828482811515614d7657fe5b0414613bc65760405160e560020a62461bcd0281526004018080602001828103825260218152602001806152d86021913960400191505060405180910390fd5b60c0604051908101604052806000600160a060020a03168152602001600081526020016000815260200160001515815260200160008152602001600081525090565b60c0604051908101604052806006906020820280388339509192915050565b610280604051908101604052806000600160a060020a031681526020016000600160a060020a031681526020016000600160a060020a031681526020016000815260200160008152602001600081526020016000600160a060020a03168152602001600081526020016000600160a060020a03168152602001600081526020016000815260200160008152602001614ead614df8565b815260200160608152602001600081525090565b600183019183908215614f435791602002820160005b83821115614f1457835183826101000a81548160ff0219169083151502179055509260200192600101602081600001049283019260010302614ed7565b8015614f415782816101000a81549060ff0219169055600101602081600001049283019260010302614f14565b505b50614f4f929150614fcd565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10614f9457805160ff1916838001178555614fc1565b82800160010185558215614fc1579182015b82811115614fc1578251825591602001919060010190614fa6565b50614f4f929150614feb565b610ed591905b80821115614f4f57805460ff19168155600101614fd3565b610ed591905b80821115614f4f5760008155600101614ff156fe63616e6e6f74206f7665727772697465206578697374696e672064656c6567617465206b6579735265656e7472616e637947756172643a207265656e7472616e742063616c6c0063616e6e6f7420726167657175697420756e74696c206869676865737420696e6465782070726f706f73616c206d656d62657220766f74656420594553206f6e2069732070726f63657373656470726f706f73616c206973206e6f7420726561647920746f2062652070726f6365737365646170706c6963616e7420616464726573732063616e6e6f7420626520726573657276656463616e6e6f74207375626d6974206d6f726520747269627574652070726f706f73616c7320666f72206e657720746f6b656e73202d206775696c6462616e6b2069732066756c6c6d656d626572206d757374206e6f7420616c7265616479206265206a61696c656470726f706f73616c20646f6573206e6f7420657869737400000000000000000070726576696f75732070726f706f73616c206d7573742062652070726f636573736564746f6b656e20746f20636f6c6c656374206d7573742062652077686974656c697374656463616e6e6f742073706f6e736f72206d6f72652077686974656c6973742070726f706f73616c736d656d626572206d7573742068617665206174206c65617374206f6e65207368617265206f72206f6e65206c6f6f74746f6b656e7320616e6420616d6f756e747320617272617973206d757374206265206d61746368696e67206c656e67746873dc7fafdc41998a74ecacb8f8bd877011aba1f1d03a3a0d37a2e7879a393b1d6a746f6b656e20746f20636f6c6c656374206d7573742068617665206e6f6e2d7a65726f206775696c642062616e6b2062616c616e636570726f706f73616c206170706c6963616e74206d757374206e6f74206265206a61696c656470726f706f73616c2068617320616c7265616479206265656e2073706f6e736f726564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7763616e6e6f74206f7665727772697465206578697374696e67206d656d6265727363616e6e6f74207375626d6974206d6f72652077686974656c6973742070726f706f73616c7363616e6e6f742073706f6e736f72206d6f726520747269627574652070726f706f73616c7320666f72206e657720746f6b656e73202d206775696c6462616e6b2069732066756c6c70726f706f73616c206465706f73697420746f6b656e207472616e73666572206661696c656470726f706f73616c20766f74696e6720706572696f6420686173206578706972656470726f706f73616c2068617320616c7265616479206265656e2063616e63656c6c656463616e6e6f7420616c726561647920686176652077686974656c69737465642074686520746f6b656e70726f706f73616c2068617320616c7265616479206265656e2070726f636573736564a165627a7a723058203bcb2ca2b8a9f83bd8ec55bb5f72c2ce2e14944aa868ea870b8c19267f634a600029
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.