Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / Tally__factory

Class: Tally__factory

Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:693

Extends

  • ContractFactory

Constructors

Constructor

new Tally__factory(...args): Tally__factory

Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:694

Parameters

args

...TallyConstructorParams

Returns

Tally__factory

Overrides

ContractFactory.constructor

Properties

abi

readonly static abi: readonly [{ inputs: readonly []; name: "AllBallotsTallied"; type: "error"; }, { inputs: readonly []; name: "AlreadyInitialized"; type: "error"; }, { inputs: readonly []; name: "BatchStartIndexTooLarge"; type: "error"; }, { inputs: readonly []; name: "IncorrectSpentVoiceCredits"; type: "error"; }, { inputs: readonly []; name: "InvalidTallyVotesProof"; type: "error"; }, { inputs: readonly []; name: "NotSupported"; type: "error"; }, { inputs: readonly []; name: "ProcessingNotComplete"; type: "error"; }, { inputs: readonly []; name: "TallyBatchSizeTooLarge"; type: "error"; }, { inputs: readonly []; name: "VotesNotTallied"; type: "error"; }, { inputs: readonly []; name: "totalSignupsTooLarge"; type: "error"; }, { inputs: readonly []; name: "MESSAGE_DATA_LENGTH"; outputs: readonly [{ internalType: "uint8"; name: ""; type: "uint8"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ components: readonly [{ internalType: "uint256[]"; name: "voteOptionIndices"; type: "uint256[]"; }, { internalType: "uint256[]"; name: "tallyResults"; type: "uint256[]"; }, { internalType: "uint256[][][]"; name: "tallyResultProofs"; type: "uint256[][][]"; }, { internalType: "uint256"; name: "totalSpent"; type: "uint256"; }, { internalType: "uint256"; name: "totalSpentSalt"; type: "uint256"; }, { internalType: "uint256"; name: "tallyResultSalt"; type: "uint256"; }, { internalType: "uint256"; name: "newResultsCommitment"; type: "uint256"; }, { internalType: "uint256"; name: "spentVoiceCreditsHash"; type: "uint256"; }, { internalType: "uint256"; name: "perVOSpentVoiceCreditsHash"; type: "uint256"; }]; internalType: "struct ITally.AddTallyResultsArgs"; name: "args"; type: "tuple"; }]; name: "addTallyResults"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "getAppendedBytes"; outputs: readonly [{ internalType: "bytes"; name: "appendedBytes"; type: "bytes"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "_batchStartIndex"; type: "uint256"; }, { internalType: "uint256"; name: "_newTallyCommitment"; type: "uint256"; }]; name: "getPublicCircuitInputs"; outputs: readonly [{ internalType: "uint256[]"; name: "publicInputs"; type: "uint256[]"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "index"; type: "uint256"; }]; name: "getTallyResults"; outputs: readonly [{ components: readonly [{ internalType: "uint256"; name: "value"; type: "uint256"; }, { internalType: "bool"; name: "isSet"; type: "bool"; }]; internalType: "struct ITally.TallyResult"; name: ""; type: "tuple"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256[2]"; name: "array"; type: "uint256[2]"; }]; name: "hash2"; outputs: readonly [{ internalType: "uint256"; name: "result"; type: "uint256"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly [{ internalType: "uint256[3]"; name: "array"; type: "uint256[3]"; }]; name: "hash3"; outputs: readonly [{ internalType: "uint256"; name: "result"; type: "uint256"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly [{ internalType: "uint256[4]"; name: "array"; type: "uint256[4]"; }]; name: "hash4"; outputs: readonly [{ internalType: "uint256"; name: "result"; type: "uint256"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly [{ internalType: "uint256[5]"; name: "array"; type: "uint256[5]"; }]; name: "hash5"; outputs: readonly [{ internalType: "uint256"; name: "result"; type: "uint256"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "left"; type: "uint256"; }, { internalType: "uint256"; name: "right"; type: "uint256"; }]; name: "hashLeftRight"; outputs: readonly [{ internalType: "uint256"; name: "result"; type: "uint256"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly []; name: "initialize"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "initialized"; outputs: readonly [{ internalType: "bool"; name: ""; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "isTallied"; outputs: readonly [{ internalType: "bool"; name: "tallied"; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "messageProcessor"; outputs: readonly [{ internalType: "contract IMessageProcessor"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "mode"; outputs: readonly [{ internalType: "enum DomainObjs.Mode"; name: ""; type: "uint8"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "poll"; outputs: readonly [{ internalType: "contract IPoll"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "sbCommitment"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256[]"; name: "array"; type: "uint256[]"; }]; name: "sha256Hash"; outputs: readonly [{ internalType: "uint256"; name: "result"; type: "uint256"; }]; stateMutability: "pure"; type: "function"; }, { inputs: readonly []; name: "tallyBatchNum"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "tallyCommitment"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "_newTallyCommitment"; type: "uint256"; }, { internalType: "uint256[8]"; name: "_proof"; type: "uint256[8]"; }]; name: "tallyVotes"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "totalSpent"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "totalTallyResults"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "updateSbCommitment"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "verifier"; outputs: readonly [{ internalType: "contract IVerifier"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "_voteOptionIndex"; type: "uint256"; }, { internalType: "uint256"; name: "_spent"; type: "uint256"; }, { internalType: "uint256[][]"; name: "_spentProof"; type: "uint256[][]"; }, { internalType: "uint256"; name: "_spentSalt"; type: "uint256"; }, { internalType: "uint8"; name: "_voteOptionTreeDepth"; type: "uint8"; }, { internalType: "uint256"; name: "_spentVoiceCreditsHash"; type: "uint256"; }, { internalType: "uint256"; name: "_resultCommitment"; type: "uint256"; }]; name: "verifyPerVoteOptionSpentVoiceCredits"; outputs: readonly [{ internalType: "bool"; name: "isValid"; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "_totalSpent"; type: "uint256"; }, { internalType: "uint256"; name: "_totalSpentSalt"; type: "uint256"; }, { internalType: "uint256"; name: "_resultCommitment"; type: "uint256"; }, { internalType: "uint256"; name: "_perVoteOptionSpentVoiceCreditsHash"; type: "uint256"; }]; name: "verifySpentVoiceCredits"; outputs: readonly [{ internalType: "bool"; name: "isValid"; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "_batchStartIndex"; type: "uint256"; }, { internalType: "uint256"; name: "_newTallyCommitment"; type: "uint256"; }, { internalType: "uint256[8]"; name: "_proof"; type: "uint256[8]"; }]; name: "verifyTallyProof"; outputs: readonly [{ internalType: "bool"; name: "isValid"; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "uint256"; name: "_voteOptionIndex"; type: "uint256"; }, { internalType: "uint256"; name: "_tallyResult"; type: "uint256"; }, { internalType: "uint256[][]"; name: "_tallyResultProof"; type: "uint256[][]"; }, { internalType: "uint256"; name: "_tallyResultSalt"; type: "uint256"; }, { internalType: "uint8"; name: "_voteOptionTreeDepth"; type: "uint8"; }, { internalType: "uint256"; name: "_spentVoiceCreditsHash"; type: "uint256"; }, { internalType: "uint256"; name: "_perVoteOptionSpentVoiceCreditsHash"; type: "uint256"; }]; name: "verifyTallyResult"; outputs: readonly [{ internalType: "bool"; name: "isValid"; type: "bool"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "verifyingKeysRegistry"; outputs: readonly [{ internalType: "contract IVerifyingKeysRegistry"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }] = _abi

Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:754


bytecode

readonly static bytecode: "0x6080604052348015600f57600080fd5b5061232b8061001f6000396000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c80638129fc1c11610104578063b41a4b19116100a2578063d13181b811610071578063d13181b81461044e578063e3ff760614610457578063e57fe1a01461045f578063fb346eab1461047257600080fd5b8063b41a4b1914610400578063b904438814610415578063bea140b314610428578063d0380fe21461043b57600080fd5b8063a21fb511116100de578063a21fb51114610363578063a2d718a414610376578063afb93bd314610389578063b0990c531461039257600080fd5b80638129fc1c146103355780639cfced971461033d578063a11752791461035057600080fd5b8063295a52121161017c5780635bb939951161014b5780635bb93995146102ec57806361750293146102ff57806362a361bb14610308578063683f3dc31461031b57600080fd5b8063295a52121461027a5780632b7ac3f31461029b5780633dfb88b2146102c657806358bfc379146102d957600080fd5b8063158ef93e116101b8578063158ef93e1461023957806316425eeb146102465780631b99d6691461025057806323e3feb11461026757600080fd5b80626abc8f146101de578063023650801461020657806310bc5f5114610226575b600080fd5b6101f16101ec3660046115e8565b61047b565b60405190151581526020015b60405180910390f35b6102196102143660046116a0565b610508565b6040516101fd91906116fe565b6101f1610234366004611718565b610646565b6000546101f19060ff1681565b61024e6106e3565b005b61025960095481565b6040519081526020016101fd565b61024e61027536600461175c565b6107fe565b60075461028e90600160a01b900460ff1681565b6040516101fd91906117c2565b6004546102ae906001600160a01b031681565b6040516001600160a01b0390911681526020016101fd565b6102596102d4366004611863565b610974565b6102596102e73660046118ef565b6109f5565b6102596102fa3660046116a0565b610a8f565b61025960015481565b61025961031636600461198a565b610aa8565b610323600a81565b60405160ff90911681526020016101fd565b61024e610ae2565b61025961034b3660046119cd565b610aea565b6006546102ae906001600160a01b031681565b6101f16103713660046115e8565b610b24565b6005546102ae906001600160a01b031681565b61025960025481565b6103e36103a0366004611a10565b6040805180820190915260008082526020820152506000908152600860209081526040918290208251808401909352805483526001015460ff1615159082015290565b6040805182518152602092830151151592810192909252016101fd565b610408610c14565b6040516101fd9190611a4d565b6101f1610423366004611a80565b610c23565b610259610436366004611ab7565b610eaf565b6007546102ae906001600160a01b031681565b61025960035481565b6101f1610ee9565b61024e61046d366004611afa565b611092565b610259600a5481565b600080600754600160a01b900460ff16600281111561049c5761049c61178a565b146104ba57604051630280e1e560e61b815260040160405180910390fd5b60006104c9858b8b8b8b61122c565b90506104d361156c565b838152602081018590526104e78288610a8f565b60408201526001546104f882610eaf565b149b9a5050505050505050505050565b6006546040805163ba5810fd60e01b815281516060936000936001600160a01b039091169263ba5810fd92600480830193928290030181865afa158015610553573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105779190611b4c565b5060408051600580825260c082019092529192506020820160a080368337019050509150600354826000815181106105b1576105b1611b36565b602002602001018181525050600154826001815181106105d3576105d3611b36565b60200260200101818152505082826002815181106105f3576105f3611b36565b602002602001018181525050838260038151811061061357610613611b36565b602002602001018181525050808260048151811061063357610633611b36565b6020026020010181815250505092915050565b600080600754600160a01b900460ff1660028111156106675761066761178a565b0361067f576106788585858561135b565b90506106db565b6001600754600160a01b900460ff16600281111561069f5761069f61178a565b14806106c857506002600754600160a01b900460ff1660028111156106c6576106c661178a565b145b156106db576106d8858585611395565b90505b949350505050565b600760009054906101000a90046001600160a01b03166001600160a01b0316638763d0c46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610736573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075a9190611b70565b6107775760405163f13e1b8560e01b815260040160405180910390fd5b6003546000036107fc57600760009054906101000a90046001600160a01b03166001600160a01b031663d13181b86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f89190611b92565b6003555b565b6108066106e3565b6006546040805163ac98e5df60e01b815290516000926001600160a01b03169163ac98e5df9160048083019260609291908290030181865afa158015610850573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108749190611bab565b5050905060008160026108879190611cf5565b90506000816002546108999190611d04565b90506000600660009054906101000a90046001600160a01b03166001600160a01b031663ba5810fd6040518163ffffffff1660e01b81526004016040805180830381865afa1580156108ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109139190611b4c565b5090508082106109365760405163b3f8c18960e01b815260040160405180910390fd5b60028054600101905561094a828787610c23565b610967576040516341acf34d60e01b815260040160405180910390fd5b5050506001929092555050565b60405163248f667760e01b815260009073__$ce9c2c925f157047e54fa833ec4e61409f$__9063248f6677906109ae908590600401611d1b565b602060405180830381865af41580156109cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ef9190611b92565b92915050565b60007f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001600283604051602001610a2b9190611d4c565b60408051601f1981840301815290829052610a4591611d82565b602060405180830381855afa158015610a62573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190610a859190611b92565b6109ef9190611db4565b6000610a9961158a565b838152602081018390526106db815b6040516314d2f97b60e11b815260009073__$6574937f64fc1d7710ec0e28b7a36713bb$__906329a5f2f6906109ae908590600401611dc8565b6107fc6113c7565b604051630926f44b60e31b815260009073__$20527677031d76601747626a9845039fe4$__90634937a258906109ae908590600401611df0565b600080610b34858b8b8b8b61122c565b90506000600754600160a01b900460ff166002811115610b5657610b5661178a565b03610b9257610b6361156c565b610b6d8288610a8f565b81526020810185905260408101849052600154610b8982610eaf565b14925050610c07565b6001600754600160a01b900460ff166002811115610bb257610bb261178a565b1480610bdb57506002600754600160a01b900460ff166002811115610bd957610bd961178a565b145b15610c0757610be861158a565b610bf28288610a8f565b8152602081018590526001546104f882610aa8565b5098975050505050505050565b6060610c1e611480565b905090565b6000806000600660009054906101000a90046001600160a01b03166001600160a01b031663ac98e5df6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610c7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9f9190611bab565b50915091506000610cb08787610508565b90506000600660009054906101000a90046001600160a01b03166001600160a01b0316638b6e74636040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2b9190611e2d565b90506000600560009054906101000a90046001600160a01b03166001600160a01b031663f3350299836001600160a01b031663652c76e46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db59190611e4a565b60075460405160e084901b6001600160e01b0319168152610de892918a918a91600160a01b900460ff1690600401611e67565b600060405180830381865afa158015610e05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e2d9190810190611f4f565b6004805460405163352a4d1560e01b81529293506001600160a01b03169163352a4d1591610e61918b9186918991016120bd565b602060405180830381865afa158015610e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea29190611b70565b9998505050505050505050565b6040516304b98e1d60e31b815260009073__$dc01a9744591ab014bc46a3b7671cdaefb$__906325cc70e8906109ae90859060040161219e565b600080600660009054906101000a90046001600160a01b03166001600160a01b031663ac98e5df6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610f3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f639190611bab565b505090506000600660009054906101000a90046001600160a01b03166001600160a01b0316635ae9d4f16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe09190611b92565b90506000600660009054906101000a90046001600160a01b03166001600160a01b031663c24a0f8b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611037573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105b9190611b92565b90504281111561106e576000935061108c565b8161107a846002611cf5565b6002546110879190611d04565b101593505b50505090565b61109a610ee9565b6110b757604051633e95b0b360e01b815260040160405180910390fd5b6006546040805163ac98e5df60e01b815290516000926001600160a01b03169163ac98e5df9160048083019260609291908290030181865afa158015611101573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111259190611bab565b5091506000905061113683806121c6565b9050905060005b818110156111e0576111d861115285806121c6565b8381811061116257611162611b36565b9050602002013585806020019061117991906121c6565b8481811061118957611189611b36565b905060200201358680604001906111a091906121c6565b858181106111b0576111b0611b36565b90506020028101906111c291906121c6565b8860a001358960e001358a61010001358a61148b565b60010161113d565b506000611200846060013585608001358660c00135876101000135610646565b9050806112205760405163e5d02d8b60e01b815260040160405180910390fd5b50505060600135600a55565b60008061123a600587611db4565b905084915060006112496115a8565b60005b8960ff168160ff16101561134e5760005b60058160ff16101561132057848160ff16036112935785838260ff166005811061128957611289611b36565b6020020152611310565b848160ff1611156112b0576112a9600182612217565b93506112b4565b8093505b87878360ff168181106112c9576112c9611b36565b90506020028101906112db91906121c6565b8560ff168181106112ee576112ee611b36565b90506020020135838260ff166005811061130a5761130a611b36565b60200201525b61131981612230565b905061125d565b5061132c60058a61224f565b985061133960058a611db4565b935061134482610aea565b945060010161124c565b5050505095945050505050565b600061136561156c565b8381526113728686610a8f565b60208201526040810183905260015461138a82610eaf565b149695505050505050565b600061139f61158a565b8281526113ac8585610a8f565b60208201526001546113bd82610aa8565b1495945050505050565b6113cf61150b565b60006113d9611480565b90506000806000806000858060200190518101906113f79190612263565b600480546001600160a01b038088166001600160a01b03199283161790925560058054838816908316179055600680548387169083161790556007805492851691831682178155969b5094995092975090955093508392916001600160a81b031990911617600160a01b8360028111156114735761147361178a565b0217905550505050505050565b6060610c1e3061153d565b600061149d8989898989878a8a610b24565b9050806114bd576040516341acf34d60e01b815260040160405180910390fd5b6000898152600860205260409020600181015460ff166114fd576001818101805460ff19169091179055600980549060006114f7836122dc565b91905055505b979097555050505050505050565b60005460ff161561152e5760405162dc149f60e41b815260040160405180910390fd5b6000805460ff19166001179055565b60405164ffffffffff602c19833b0116808252602090810190602d908301843c60408101815101604052919050565b60405180606001604052806003906020820280368337509192915050565b60405180604001604052806002906020820280368337509192915050565b6040518060a001604052806005906020820280368337509192915050565b60ff811681146115d557600080fd5b50565b80356115e3816115c6565b919050565b60008060008060008060008060e0898b03121561160457600080fd5b8835975060208901359650604089013567ffffffffffffffff81111561162957600080fd5b8901601f81018b1361163a57600080fd5b803567ffffffffffffffff81111561165157600080fd5b8b60208260051b840101111561166657600080fd5b602091909101965094506060890135935061168360808a016115d8565b979a969950949793969295929450505060a08201359160c0013590565b600080604083850312156116b357600080fd5b50508035926020909101359150565b600081518084526020840193506020830160005b828110156116f45781518652602095860195909101906001016116d6565b5093949350505050565b60208152600061171160208301846116c2565b9392505050565b6000806000806080858703121561172e57600080fd5b5050823594602084013594506040840135936060013592509050565b8061010081018310156109ef57600080fd5b600080610120838503121561177057600080fd5b82359150611781846020850161174a565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b600381106117be57634e487b7160e01b600052602160045260246000fd5b9052565b602081016109ef82846117a0565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715611809576118096117d0565b60405290565b60405160a0810167ffffffffffffffff81118282101715611809576118096117d0565b604051601f8201601f1916810167ffffffffffffffff8111828210171561185b5761185b6117d0565b604052919050565b60006080828403121561187557600080fd5b600083601f840112611885578081fd5b806118906080611832565b905080915060808401858111156118a657600080fd5b845b818110156118c05780358452602093840193016118a8565b509095945050505050565b600067ffffffffffffffff8211156118e5576118e56117d0565b5060051b60200190565b60006020828403121561190157600080fd5b813567ffffffffffffffff81111561191857600080fd5b8201601f8101841361192957600080fd5b803561193c611937826118cb565b611832565b8082825260208201915060208360051b85010192508683111561195e57600080fd5b6020840193505b82841015611980578335825260209384019390910190611965565b9695505050505050565b60006040828403121561199c57600080fd5b600083601f8401126119ac578081fd5b806119b76040611832565b905080915060408401858111156118a657600080fd5b600060a082840312156119df57600080fd5b600083601f8401126119ef578081fd5b806119fa60a0611832565b905080915060a08401858111156118a657600080fd5b600060208284031215611a2257600080fd5b5035919050565b60005b83811015611a44578181015183820152602001611a2c565b50506000910152565b6020815260008251806020840152611a6c816040850160208701611a29565b601f01601f19169190910160400192915050565b60008060006101408486031215611a9657600080fd5b8335925060208401359150611aae856040860161174a565b90509250925092565b600060608284031215611ac957600080fd5b600083601f840112611ad9578081fd5b80611ae46060611832565b905080915060608401858111156118a657600080fd5b600060208284031215611b0c57600080fd5b813567ffffffffffffffff811115611b2357600080fd5b8201610120818503121561171157600080fd5b634e487b7160e01b600052603260045260246000fd5b60008060408385031215611b5f57600080fd5b505080516020909101519092909150565b600060208284031215611b8257600080fd5b8151801515811461171157600080fd5b600060208284031215611ba457600080fd5b5051919050565b600080600060608486031215611bc057600080fd5b8351611bcb816115c6565b6020850151909350611bdc816115c6565b6040850151909250611bed816115c6565b809150509250925092565b634e487b7160e01b600052601160045260246000fd5b6001815b6001841115611c4957808504811115611c2d57611c2d611bf8565b6001841615611c3b57908102905b60019390931c928002611c12565b935093915050565b600082611c60575060016109ef565b81611c6d575060006109ef565b8160018114611c835760028114611c8d57611ca9565b60019150506109ef565b60ff841115611c9e57611c9e611bf8565b50506001821b6109ef565b5060208310610133831016604e8410600b8410161715611ccc575081810a6109ef565b611cd96000198484611c0e565b8060001904821115611ced57611ced611bf8565b029392505050565b600061171160ff841683611c51565b80820281158282048414176109ef576109ef611bf8565b60808101818360005b6004811015611d43578151835260209283019290910190600101611d24565b50505092915050565b8151600090829060208501835b82811015611d77578151845260209384019390910190600101611d59565b509195945050505050565b60008251611d94818460208701611a29565b9190910192915050565b634e487b7160e01b600052601260045260246000fd5b600082611dc357611dc3611d9e565b500690565b60408101818360005b6002811015611d43578151835260209283019290910190600101611dd1565b60a08101818360005b6005811015611d43578151835260209283019290910190600101611df9565b6001600160a01b03811681146115d557600080fd5b600060208284031215611e3f57600080fd5b815161171181611e18565b600060208284031215611e5c57600080fd5b8151611711816115c6565b60ff858116825284811660208301528316604082015260808101611e8e60608301846117a0565b95945050505050565b600060408284031215611ea957600080fd5b611eb16117e6565b825181526020928301519281019290925250919050565b600082601f830112611ed957600080fd5b611ee36040611832565b806040840185811115611ef557600080fd5b845b818110156118c0578051845260209384019301611ef7565b600060808284031215611f2157600080fd5b611f296117e6565b9050611f358383611ec8565b8152611f448360408401611ec8565b602082015292915050565b600060208284031215611f6157600080fd5b815167ffffffffffffffff811115611f7857600080fd5b82016101e08185031215611f8b57600080fd5b611f9361180f565b611f9d8583611e97565b8152611fac8560408401611f0f565b6020820152611fbe8560c08401611f0f565b6040820152611fd1856101408401611f0f565b60608201526101c082015167ffffffffffffffff811115611ff157600080fd5b80830192505084601f83011261200657600080fd5b8151612014611937826118cb565b8082825260208201915060208360061b86010192508783111561203657600080fd5b6020850194505b828510156120625761204f8886611e97565b825260208201915060408501945061203d565b6080840152509095945050505050565b8060005b6002811015612095578151845260209384019390910190600101612076565b50505050565b6120a6828251612072565b60208101516120b86040840182612072565b505050565b610100848237610140610100820152600061032082016120ec6101408401865180518252602090810151910152565b60208501516120ff61018085018261209b565b50604085015161211361020085018261209b565b50606085015161212761028085018261209b565b5060808501516101e0610300850152805191829052602001906000906103408501905b8083101561217e5761216782855180518252602090810151910152565b60408201915060208401935060018301925061214a565b5084810361012086015261219281876116c2565b98975050505050505050565b60608101818360005b6003811015611d435781518352602092830192909101906001016121a7565b6000808335601e198436030181126121dd57600080fd5b83018035915067ffffffffffffffff8211156121f857600080fd5b6020019150600581901b360382131561221057600080fd5b9250929050565b60ff82811682821603908111156109ef576109ef611bf8565b600060ff821660ff810361224657612246611bf8565b60010192915050565b60008261225e5761225e611d9e565b500490565b600080600080600060a0868803121561227b57600080fd5b855161228681611e18565b602087015190955061229781611e18565b60408701519094506122a881611e18565b60608701519093506122b981611e18565b6080870151909250600381106122ce57600080fd5b809150509295509295909350565b6000600182016122ee576122ee611bf8565b506001019056fea2646970667358221220848666a178dad57a663d604329eb56daacf3d66d69e8b0ec93143b5157bfb95964736f6c634300081c0033" = _bytecode

Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:753

Methods

connect()

connect(runner): Tally__factory

Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:749

Return a new ContractFactory with the same ABI and bytecode, but connected to %%runner%%.

Parameters

runner

ContractRunner | null

Returns

Tally__factory

Overrides

ContractFactory.connect


deploy()

deploy(overrides?): Promise<Tally & object>

Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:742

Resolves to the Contract deployed by passing %%args%% into the constructor.

This will resolve to the Contract before it has been deployed to the network, so the [[BaseContract-waitForDeployment]] should be used before sending any transactions to it.

Parameters

overrides?

NonPayableOverrides & object

Returns

Promise<Tally & object>

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(overrides?): Promise<ContractDeployTransaction>

Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:737

Resolves to the transaction to deploy the contract, passing %%args%% into the constructor.

Parameters

overrides?

NonPayableOverrides & object

Returns

Promise<ContractDeployTransaction>

Overrides

ContractFactory.getDeployTransaction


connect()

static connect(address, runner?): Tally

Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:758

Parameters

address

string

runner?

ContractRunner | null

Returns

Tally


createInterface()

static createInterface(): TallyInterface

Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:755

Returns

TallyInterface


linkBytecode()

static linkBytecode(linkLibraryAddresses): string

Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:703

Parameters

linkLibraryAddresses

TallyLibraryAddresses

Returns

string