Blockwell

Lifewater Charity

About

Stats

Public Functions 46
Event Types 14
Code Size 26,057 bytes

Library Use

Uses SafeMath for uint256.

Events (14) keyboard_arrow_up

AddedToGroup Event

Parameters help
groupId
uint8 help
account
address help

DaicoProposalVotes Event

Parameters help
voter
address help
proposalId
uint256 help
status
ProposalStatus help
votes
uint256 help
totalVotes
uint256 help
comment
string help

Failed Event

Parameters help

Funding Event

Parameters help
from
address help
value
uint256 help
transactionHash
bytes32 help

Paused Event

Parameters help
account
address help

Payment Event

Parameters help
proposalId
uint64 help
recipient
address help
value
uint256 help

PaymentStopped Event

Parameters help
proposalId
uint64 help

ProposalApproved Event

Parameters help
proposalId
uint64 help

ProposalCreated Event

Parameters help
proposalId
uint64 help
creator
address help
recipient
address help
text
string help

ProposalFailed Event

Parameters help
proposalId
uint64 help

Refund Event

Parameters help
to
address help
value
uint256 help

RemovedFromGroup Event

Parameters help
groupId
uint8 help
account
address help

Successful Event

Parameters help

Unpaused Event

Parameters help
account
address help

Proposal Struct

Members
id
uint64 help
created
bool help
creator
address help
recipient
address help
votes
uint256 help
value
uint256 help
recurrence
uint64 help
deadline
uint64 help
status
ProposalStatus help
withdrawn
uint256 help
firstPaymentTimestamp
uint64 help
lastPaymentTimestamp
uint64 help
payments
uint32 help
text
string help
voted
mapping(address => uint256) help
votedStop
mapping(address => uint256) help

ADMIN Constant

uint8 help
1

VOTER Constant

uint8 help
2

DELEGATE Constant

uint8 help
3

LISTENER Constant

uint8 help
4

bwtype Variable

uint256 help

bwver Variable

uint256 help

name Variable

string help

token Variable

address help

minimumFunding Variable

uint256 help

currentFunding Variable

uint256 help

status Variable

Status help

timelimit Variable

uint256 help

votingType Variable

VotingType help

approvalThreshold Variable

uint256 help

votingToken Variable

address help

minimumFundAmount Variable

uint256 help

autoAddVoters Variable

bool help

openVoting Variable

bool help

openProposals Variable

bool help

textEncoding Variable

string help

feeAccount Variable

address help

feePercentageTenths Variable

uint256 help

voterCount Variable

uint256 help

balances Variable

mapping(address => uint256) help
Internal Variable

proposals Variable

Proposal[] help
Internal Variable

_paused Variable

bool help
Internal Variable

groups Variable

Groups.GroupMap help
Internal Variable

Functions Expand All Collapse All

addAdmin keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

removeAdmin keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

isAdmin keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

addVoter keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

removeVoter keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

isVoter keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

addDelegate keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

removeDelegate keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

isDelegate keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

addListener keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

removeListener keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

isListener keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

paused keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

getProposalCount keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

getProposalInts keyboard_arrow_up

Parameters help

Name Type
proposalId
uint256 help

Properties

Visibility help public
Mutability help view

getProposalText keyboard_arrow_up

Parameters help

Name Type
proposalId
uint256 help

Properties

Visibility help public
Mutability help view

getProposalCreator keyboard_arrow_up

Parameters help

Name Type
proposalId
uint256 help

Properties

Visibility help public
Mutability help view

getProposalRecipient keyboard_arrow_up

Parameters help

Name Type
proposalId
uint256 help

Properties

Visibility help public
Mutability help view

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

getPendingPayments keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

getPendingPaymentAmount keyboard_arrow_up

Parameters help

Name Type
proposalId
uint256 help

Properties

Visibility help public
Mutability help view

getApprovalThreshold keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

simpleApprovalThreshold keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

pause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

unpause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

setMinimumFunding keyboard_arrow_up

Parameters help

Name Type
minimum
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null
whenConfiguring checks for the following:
null

setTimelimit keyboard_arrow_up

Parameters help

Name Type
time
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null
whenConfiguring checks for the following:
null

setSimpleApprovalThreshold keyboard_arrow_up

Parameters help

Name Type
threshold
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null
whenConfiguring checks for the following:
null

setApprovalThreshold keyboard_arrow_up

Parameters help

Name Type
threshold
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null
whenConfiguring checks for the following:
null

setVotingToken keyboard_arrow_up

Parameters help

Name Type
_token
ApprovalToken help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null
whenConfiguring checks for the following:
null

setVotingType keyboard_arrow_up

Parameters help

Name Type
newType
VotingType help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null
whenConfiguring checks for the following:
null

setMinimumFundAmount keyboard_arrow_up

Parameters help

Name Type
minimum
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null
whenConfiguring checks for the following:
null

setAutoAddVoters keyboard_arrow_up

Parameters help

Name Type
autoAdd
bool help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null
whenConfiguring checks for the following:
null

setOpenVoting keyboard_arrow_up

Parameters help

Name Type
open
bool help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null
whenConfiguring checks for the following:
null

setOpenProposals keyboard_arrow_up

Parameters help

Name Type
open
bool help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null
whenConfiguring checks for the following:
null

launch keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null
whenConfiguring checks for the following:
null

fund keyboard_arrow_up

Parameters help

Name Type
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

applyFunding keyboard_arrow_up

Parameters help

Name Type
from
address help
value
uint256 help
transactionHash
bytes32 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

createProposal keyboard_arrow_up

Parameters help

Name Type
text
string help
recipient
address help
value
uint256 help
recurrence
uint64 help
duration
uint64 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

vote keyboard_arrow_up

Parameters help

Name Type
proposalId
uint256 help
comment_
string help

Properties

Visibility help public
Mutability help transaction

voteToStop keyboard_arrow_up

Parameters help

Name Type
proposalId
uint256 help
comment_
string help

Properties

Visibility help public
Mutability help transaction

comment keyboard_arrow_up

Parameters help

Name Type
proposalId
uint256 help
text
string help

Properties

Visibility help public
Mutability help transaction

hasVoted keyboard_arrow_up

Parameters help

Name Type
account
address help
proposalId
uint256 help

Properties

Visibility help public
Mutability help view

payment keyboard_arrow_up

Parameters help

Name Type
proposalId
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

refund keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

whenNotSuccessful checks for the following:

withdrawTokens keyboard_arrow_up

Parameters help

Name Type
_token
Erc20 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

Requirements help

UNKNOWN VALUE must not be equal to UNKNOWN VALUE

Internal Functions Expand All Collapse All

Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.

internal Daico.init keyboard_arrow_up

Parameters help

Name Type
sender
address help

Properties

Visibility help internal
Mutability help transaction

internal Daico.isConfiguring keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help internal
Mutability help view

internal Daico.isAcceptingFunds keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help internal
Mutability help view

internal Daico.isFunding keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help internal
Mutability help view

internal Daico.isSuccessful keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help internal
Mutability help view

internal Daico.isFailed keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help internal
Mutability help view

internal Daico.funding keyboard_arrow_up

Parameters help

Name Type
from
address help
value
uint256 help
transactionHash
bytes32 help

Properties

Visibility help internal
Mutability help transaction

internal Daico.success keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help internal
Mutability help transaction

internal Daico.failure keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help internal
Mutability help transaction

internal Daico.create keyboard_arrow_up

Parameters help

Name Type
text
string help
creator
address help
recipient
address help
value
uint256 help
recurrence
uint64 help
duration
uint64 help

Properties

Visibility help internal
Mutability help transaction

internal Daico.hasProposalFailed keyboard_arrow_up

Parameters help

Name Type
prop
Proposal help

Properties

Visibility help internal
Mutability help transaction

internal Daico.applyVote keyboard_arrow_up

Parameters help

Name Type
account
address help
prop
Proposal help
votes
uint256 help
comment_
string help

Properties

Visibility help internal
Mutability help transaction

internal Daico.stopProposal keyboard_arrow_up

Parameters help

Name Type
prop
Proposal help

Properties

Visibility help internal
Mutability help transaction

internal Daico.approveProposal keyboard_arrow_up

Parameters help

Name Type
prop
Proposal help

Properties

Visibility help internal
Mutability help transaction

Requirements help

internal Daico.getPendingAmount keyboard_arrow_up

Parameters help

Name Type
prop
Proposal help

Properties

Visibility help internal
Mutability help view

internal Daico.getNextPaymentTimestamp keyboard_arrow_up

Parameters help

Name Type
prop
Proposal help

Properties

Visibility help internal
Mutability help view

internal Daico.transferPayment keyboard_arrow_up

Parameters help

Name Type
prop
Proposal help

Properties

Visibility help internal
Mutability help transaction

Requirements help

internal Daico.checkForFailure keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help internal
Mutability help transaction

internal BasicPausable.constructor keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help internal
Mutability help transaction

internal BasicPausable._pause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help internal
Mutability help transaction

internal BasicPausable._unpause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help internal
Mutability help transaction

internal ContractGroups._addAdmin keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help internal
Mutability help transaction

internal ContractGroups._addVoter keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help internal
Mutability help transaction

internal ContractGroups._add keyboard_arrow_up

Parameters help

Name Type
groupId
uint8 help
account
address help

Properties

Visibility help internal
Mutability help transaction

internal ContractGroups._remove keyboard_arrow_up

Parameters help

Name Type
groupId
uint8 help
account
address help

Properties

Visibility help internal
Mutability help transaction

internal ContractGroups._contains keyboard_arrow_up

Parameters help

Name Type
groupId
uint8 help
account
address help

Properties

Visibility help internal
Mutability help view