Minimal Anti Collusion Infrastructure (MACI) / MACI
Interface: MACI
Defined in: contracts/typechain-types/contracts/MACI.ts:26
Extends
BaseContract
Properties
deployPoll
deployPoll:
TypedContractMethod
<[DeployPollArgsStruct
], [PollContractsStructOutput
],"nonpayable"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:451
emptyBallotRoots
emptyBallotRoots:
TypedContractMethod
<[BigNumberish
], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:457
filters
filters:
object
Defined in: contracts/typechain-types/contracts/MACI.ts:724
All the Events available on this contract.
DeployPoll
DeployPoll:
TypedContractEvent
<InputTuple
,OutputTuple
,OutputObject
>
DeployPoll(uint256,uint256,uint256,uint8)
DeployPoll(uint256,uint256,uint256,uint8):
TypedContractEvent
<InputTuple
,OutputTuple
,OutputObject
>
SignUp
SignUp:
TypedContractEvent
<InputTuple
,OutputTuple
,OutputObject
>
SignUp(uint256,uint256,uint256,uint256)
SignUp(uint256,uint256,uint256,uint256):
TypedContractEvent
<InputTuple
,OutputTuple
,OutputObject
>
Overrides
BaseContract.filters
getPoll
getPoll:
TypedContractMethod
<[BigNumberish
], [PollContractsStructOutput
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:459
getStateIndex
getStateIndex:
TypedContractMethod
<[BigNumberish
], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:465
getStateRootOnIndexedSignUp
getStateRootOnIndexedSignUp:
TypedContractMethod
<[BigNumberish
], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:471
getStateTreeRoot
getStateTreeRoot:
TypedContractMethod
<[], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:477
hash2
hash2:
TypedContractMethod
<[[BigNumberish
,BigNumberish
]], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:479
hash3
hash3:
TypedContractMethod
<[[BigNumberish
,BigNumberish
,BigNumberish
]], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:485
hash4
hash4:
TypedContractMethod
<[[BigNumberish
,BigNumberish
,BigNumberish
,BigNumberish
]], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:491
hash5
hash5:
TypedContractMethod
<[[BigNumberish
,BigNumberish
,BigNumberish
,BigNumberish
,BigNumberish
]], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:497
hashLeftRight
hashLeftRight:
TypedContractMethod
<[BigNumberish
,BigNumberish
], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:511
interface
interface:
MACIInterface
Defined in: contracts/typechain-types/contracts/MACI.ts:410
The contract Interface.
Overrides
BaseContract.interface
leanIMTData
leanIMTData:
TypedContractMethod
<[], [[bigint
,bigint
] &object
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:517
maxSignups
maxSignups:
TypedContractMethod
<[], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:523
MESSAGE_DATA_LENGTH
MESSAGE_DATA_LENGTH:
TypedContractMethod
<[], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:449
messageProcessorFactory
messageProcessorFactory:
TypedContractMethod
<[], [string
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:525
nextPollId
nextPollId:
TypedContractMethod
<[], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:527
pollFactory
pollFactory:
TypedContractMethod
<[], [string
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:529
polls
polls:
TypedContractMethod
<[BigNumberish
], [[string
,string
,string
] &object
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:531
sha256Hash
sha256Hash:
TypedContractMethod
<[BigNumberish
[]], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:543
signUp
signUp:
TypedContractMethod
<[PublicKeyStruct
,BytesLike
], [void
],"nonpayable"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:545
signUpPolicy
signUpPolicy:
TypedContractMethod
<[], [string
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:551
stateRootsOnSignUp
stateRootsOnSignUp:
TypedContractMethod
<[BigNumberish
], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:553
stateTreeDepth
stateTreeDepth:
TypedContractMethod
<[], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:559
tallyFactory
tallyFactory:
TypedContractMethod
<[], [string
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:561
totalSignups
totalSignups:
TypedContractMethod
<[], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:563
verifier
verifier:
TypedContractMethod
<[], [string
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:565
verifyingKeysRegistry
verifyingKeysRegistry:
TypedContractMethod
<[], [string
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:567
Methods
connect()
connect(
runner?
):MACI
Defined in: contracts/typechain-types/contracts/MACI.ts:407
Return a new Contract instance with the same target and ABI, but a different %%runner%%.
Parameters
runner?
null
| ContractRunner
Returns
MACI
Overrides
BaseContract.connect
getEvent()
Call Signature
getEvent(
key
):TypedContractEvent
<InputTuple
,OutputTuple
,OutputObject
>
Defined in: contracts/typechain-types/contracts/MACI.ts:709
Return the event for a given name. This is useful when a contract
event name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
key
"DeployPoll"
Returns
TypedContractEvent
<InputTuple
, OutputTuple
, OutputObject
>
Overrides
BaseContract.getEvent
Call Signature
getEvent(
key
):TypedContractEvent
<InputTuple
,OutputTuple
,OutputObject
>
Defined in: contracts/typechain-types/contracts/MACI.ts:716
Return the event for a given name. This is useful when a contract
event name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
key
"SignUp"
Returns
TypedContractEvent
<InputTuple
, OutputTuple
, OutputObject
>
Overrides
BaseContract.getEvent
getFunction()
Call Signature
getFunction<
T
>(key
):T
Defined in: contracts/typechain-types/contracts/MACI.ts:569
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Type Parameters
T
T
extends ContractMethod
<any
[], any
, any
> = ContractMethod
<any
[], any
, any
>
Parameters
key
string
| FunctionFragment
Returns
T
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:573
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"MESSAGE_DATA_LENGTH"
Returns
TypedContractMethod
<[], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[DeployPollArgsStruct
], [PollContractsStructOutput
],"nonpayable"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:576
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"deployPoll"
Returns
TypedContractMethod
<[DeployPollArgsStruct
], [PollContractsStructOutput
], "nonpayable"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[BigNumberish
], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:583
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"emptyBallotRoots"
Returns
TypedContractMethod
<[BigNumberish
], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[BigNumberish
], [PollContractsStructOutput
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:586
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"getPoll"
Returns
TypedContractMethod
<[BigNumberish
], [PollContractsStructOutput
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[BigNumberish
], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:593
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"getStateIndex"
Returns
TypedContractMethod
<[BigNumberish
], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[BigNumberish
], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:596
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"getStateRootOnIndexedSignUp"
Returns
TypedContractMethod
<[BigNumberish
], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:599
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"getStateTreeRoot"
Returns
TypedContractMethod
<[], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[[BigNumberish
,BigNumberish
]], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:602
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"hash2"
Returns
TypedContractMethod
<[[BigNumberish
, BigNumberish
]], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[[BigNumberish
,BigNumberish
,BigNumberish
]], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:609
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"hash3"
Returns
TypedContractMethod
<[[BigNumberish
, BigNumberish
, BigNumberish
]], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[[BigNumberish
,BigNumberish
,BigNumberish
,BigNumberish
]], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:616
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"hash4"
Returns
TypedContractMethod
<[[BigNumberish
, BigNumberish
, BigNumberish
, BigNumberish
]], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[[BigNumberish
,BigNumberish
,BigNumberish
,BigNumberish
,BigNumberish
]], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:623
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"hash5"
Returns
TypedContractMethod
<[[BigNumberish
, BigNumberish
, BigNumberish
, BigNumberish
, BigNumberish
]], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[BigNumberish
,BigNumberish
], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:638
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"hashLeftRight"
Returns
TypedContractMethod
<[BigNumberish
, BigNumberish
], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [[bigint
,bigint
] &object
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:645
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"leanIMTData"
Returns
TypedContractMethod
<[], [[bigint
, bigint
] & object
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:652
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"maxSignups"
Returns
TypedContractMethod
<[], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [string
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:655
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"messageProcessorFactory"
Returns
TypedContractMethod
<[], [string
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:658
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"nextPollId"
Returns
TypedContractMethod
<[], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [string
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:661
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"pollFactory"
Returns
TypedContractMethod
<[], [string
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[BigNumberish
], [[string
,string
,string
] &object
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:664
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"polls"
Returns
TypedContractMethod
<[BigNumberish
], [[string
, string
, string
] & object
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[BigNumberish
[]], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:677
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"sha256Hash"
Returns
TypedContractMethod
<[BigNumberish
[]], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[PublicKeyStruct
,BytesLike
], [void
],"nonpayable"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:680
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"signUp"
Returns
TypedContractMethod
<[PublicKeyStruct
, BytesLike
], [void
], "nonpayable"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [string
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:687
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"signUpPolicy"
Returns
TypedContractMethod
<[], [string
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[BigNumberish
], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:690
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"stateRootsOnSignUp"
Returns
TypedContractMethod
<[BigNumberish
], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:693
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"stateTreeDepth"
Returns
TypedContractMethod
<[], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [string
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:696
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"tallyFactory"
Returns
TypedContractMethod
<[], [string
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [bigint
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:699
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"totalSignups"
Returns
TypedContractMethod
<[], [bigint
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [string
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:702
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"verifier"
Returns
TypedContractMethod
<[], [string
], "view"
>
Overrides
BaseContract.getFunction
Call Signature
getFunction(
nameOrSignature
):TypedContractMethod
<[], [string
],"view"
>
Defined in: contracts/typechain-types/contracts/MACI.ts:705
Return the function for a given name. This is useful when a contract
method name conflicts with a JavaScript name such as prototype
or
when using a Contract programatically.
Parameters
nameOrSignature
"verifyingKeysRegistry"
Returns
TypedContractMethod
<[], [string
], "view"
>
Overrides
BaseContract.getFunction
listeners()
Call Signature
listeners<
TCEvent
>(event
):Promise
<TypedListener
<TCEvent
>[]>
Defined in: contracts/typechain-types/contracts/MACI.ts:441
Resolves to the listeners subscribed to %%event%% or all listeners if unspecified.
Type Parameters
TCEvent
TCEvent
extends TypedContractEvent
<any
, any
, any
>
Parameters
event
TCEvent
Returns
Promise
<TypedListener
<TCEvent
>[]>
Overrides
BaseContract.listeners
Call Signature
listeners(
eventName?
):Promise
<Listener
[]>
Defined in: contracts/typechain-types/contracts/MACI.ts:444
Resolves to the listeners subscribed to %%event%% or all listeners if unspecified.
Parameters
eventName?
string
Returns
Promise
<Listener
[]>
Overrides
BaseContract.listeners
on()
Call Signature
on<
TCEvent
>(event
,listener
):Promise
<MACI
>
Defined in: contracts/typechain-types/contracts/MACI.ts:423
Add an event %%listener%% for the %%event%%.
Type Parameters
TCEvent
TCEvent
extends TypedContractEvent
<any
, any
, any
>
Parameters
event
TCEvent
listener
TypedListener
<TCEvent
>
Returns
Promise
<MACI
>
Overrides
BaseContract.on
Call Signature
on<
TCEvent
>(filter
,listener
):Promise
<MACI
>
Defined in: contracts/typechain-types/contracts/MACI.ts:427
Add an event %%listener%% for the %%event%%.
Type Parameters
TCEvent
TCEvent
extends TypedContractEvent
<any
, any
, any
>
Parameters
filter
TypedDeferredTopicFilter
<TCEvent
>
listener
TypedListener
<TCEvent
>
Returns
Promise
<MACI
>
Overrides
BaseContract.on
once()
Call Signature
once<
TCEvent
>(event
,listener
):Promise
<MACI
>
Defined in: contracts/typechain-types/contracts/MACI.ts:432
Add an event %%listener%% for the %%event%%, but remove the listener after it is fired once.
Type Parameters
TCEvent
TCEvent
extends TypedContractEvent
<any
, any
, any
>
Parameters
event
TCEvent
listener
TypedListener
<TCEvent
>
Returns
Promise
<MACI
>
Overrides
BaseContract.once
Call Signature
once<
TCEvent
>(filter
,listener
):Promise
<MACI
>
Defined in: contracts/typechain-types/contracts/MACI.ts:436
Add an event %%listener%% for the %%event%%, but remove the listener after it is fired once.
Type Parameters
TCEvent
TCEvent
extends TypedContractEvent
<any
, any
, any
>
Parameters
filter
TypedDeferredTopicFilter
<TCEvent
>
listener
TypedListener
<TCEvent
>
Returns
Promise
<MACI
>
Overrides
BaseContract.once
queryFilter()
Call Signature
queryFilter<
TCEvent
>(event
,fromBlockOrBlockhash?
,toBlock?
):Promise
<TypedEventLog
<TCEvent
>[]>
Defined in: contracts/typechain-types/contracts/MACI.ts:412
Provide historic access to event data for %%event%% in the range
%%fromBlock%% (default: 0
) to %%toBlock%% (default: "latest"
)
inclusive.
Type Parameters
TCEvent
TCEvent
extends TypedContractEvent
<any
, any
, any
>
Parameters
event
TCEvent
fromBlockOrBlockhash?
string
| number
toBlock?
string
| number
Returns
Promise
<TypedEventLog
<TCEvent
>[]>
Overrides
BaseContract.queryFilter
Call Signature
queryFilter<
TCEvent
>(filter
,fromBlockOrBlockhash?
,toBlock?
):Promise
<TypedEventLog
<TCEvent
>[]>
Defined in: contracts/typechain-types/contracts/MACI.ts:417
Provide historic access to event data for %%event%% in the range
%%fromBlock%% (default: 0
) to %%toBlock%% (default: "latest"
)
inclusive.
Type Parameters
TCEvent
TCEvent
extends TypedContractEvent
<any
, any
, any
>
Parameters
filter
TypedDeferredTopicFilter
<TCEvent
>
fromBlockOrBlockhash?
string
| number
toBlock?
string
| number
Returns
Promise
<TypedEventLog
<TCEvent
>[]>
Overrides
BaseContract.queryFilter
removeAllListeners()
removeAllListeners<
TCEvent
>(event?
):Promise
<MACI
>
Defined in: contracts/typechain-types/contracts/MACI.ts:445
Remove all the listeners for %%event%% or remove all listeners if unspecified.
Type Parameters
TCEvent
TCEvent
extends TypedContractEvent
<any
, any
, any
>
Parameters
event?
TCEvent
Returns
Promise
<MACI
>
Overrides
BaseContract.removeAllListeners
waitForDeployment()
waitForDeployment():
Promise
<MACI
>
Defined in: contracts/typechain-types/contracts/MACI.ts:408
Resolve to this Contract once the bytecode has been deployed, or resolve immediately if already deployed.
Returns
Promise
<MACI
>
Overrides
BaseContract.waitForDeployment