Minimal Anti Collusion Infrastructure (MACI) / Tally__factory
Class: Tally__factory
Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:697
Extends
ContractFactory
Constructors
Constructor
new Tally__factory(...
args):Tally__factory
Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:698
Parameters
args
...TallyConstructorParams
Returns
Tally__factory
Overrides
ContractFactory.constructor
Properties
abi
readonlystaticabi: readonly [{inputs: readonly [];name:"AllBallotsTallied";type:"error"; }, {inputs: readonly [];name:"AlreadyInitialized";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:"VotesNotTallied";type:"error"; }, {anonymous:false;inputs: readonly [{indexed:true;internalType:"uint256";name:"voteOptionIndex";type:"uint256"; }, {indexed:true;internalType:"uint256";name:"tallyResult";type:"uint256"; }];name:"ResultAdded";type:"event"; }, {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:758
bytecode
readonlystaticbytecode:"0x6080604052348015600f57600080fd5b506123598061001f6000396000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c80638129fc1c11610104578063b41a4b19116100a2578063d13181b811610071578063d13181b81461044e578063e3ff760614610457578063e57fe1a01461045f578063fb346eab1461047257600080fd5b8063b41a4b1914610400578063b904438814610415578063bea140b314610428578063d0380fe21461043b57600080fd5b8063a21fb511116100de578063a21fb51114610363578063a2d718a414610376578063afb93bd314610389578063b0990c531461039257600080fd5b80638129fc1c146103355780639cfced971461033d578063a11752791461035057600080fd5b8063295a52121161017c5780635bb939951161014b5780635bb93995146102ec57806361750293146102ff57806362a361bb14610308578063683f3dc31461031b57600080fd5b8063295a52121461027a5780632b7ac3f31461029b5780633dfb88b2146102c657806358bfc379146102d957600080fd5b8063158ef93e116101b8578063158ef93e1461023957806316425eeb146102465780631b99d6691461025057806323e3feb11461026757600080fd5b80626abc8f146101de578063023650801461020657806310bc5f5114610226575b600080fd5b6101f16101ec366004611616565b61047b565b60405190151581526020015b60405180910390f35b6102196102143660046116ce565b610508565b6040516101fd919061172c565b6101f1610234366004611746565b610646565b6000546101f19060ff1681565b61024e6106e3565b005b61025960095481565b6040519081526020016101fd565b61024e61027536600461178a565b6107fe565b60075461028e90600160a01b900460ff1681565b6040516101fd91906117f0565b6004546102ae906001600160a01b031681565b6040516001600160a01b0390911681526020016101fd565b6102596102d4366004611891565b610974565b6102596102e736600461191d565b6109f5565b6102596102fa3660046116ce565b610a8f565b61025960015481565b6102596103163660046119b8565b610aa8565b610323600a81565b60405160ff90911681526020016101fd565b61024e610ae2565b61025961034b3660046119fb565b610aea565b6006546102ae906001600160a01b031681565b6101f1610371366004611616565b610b24565b6005546102ae906001600160a01b031681565b61025960025481565b6103e36103a0366004611a3e565b6040805180820190915260008082526020820152506000908152600860209081526040918290208251808401909352805483526001015460ff1615159082015290565b6040805182518152602092830151151592810192909252016101fd565b610408610c14565b6040516101fd9190611a7b565b6101f1610423366004611aae565b610c23565b610259610436366004611ae5565b610eaf565b6007546102ae906001600160a01b031681565b61025960035481565b6101f1610ee9565b61024e61046d366004611b28565b611092565b610259600a5481565b600080600754600160a01b900460ff16600281111561049c5761049c6117b8565b146104ba57604051630280e1e560e61b815260040160405180910390fd5b60006104c9858b8b8b8b61122c565b90506104d361159a565b838152602081018590526104e78288610a8f565b60408201526001546104f882610eaf565b149b9a5050505050505050505050565b6006546040805163ba5810fd60e01b815281516060936000936001600160a01b039091169263ba5810fd92600480830193928290030181865afa158015610553573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105779190611b7a565b5060408051600580825260c082019092529192506020820160a080368337019050509150600354826000815181106105b1576105b1611b64565b602002602001018181525050600154826001815181106105d3576105d3611b64565b60200260200101818152505082826002815181106105f3576105f3611b64565b602002602001018181525050838260038151811061061357610613611b64565b602002602001018181525050808260048151811061063357610633611b64565b6020026020010181815250505092915050565b600080600754600160a01b900460ff166002811115610667576106676117b8565b0361067f576106788585858561135b565b90506106db565b6001600754600160a01b900460ff16600281111561069f5761069f6117b8565b14806106c857506002600754600160a01b900460ff1660028111156106c6576106c66117b8565b145b156106db576106d8858585611395565b90505b949350505050565b600760009054906101000a90046001600160a01b03166001600160a01b0316638763d0c46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610736573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075a9190611b9e565b6107775760405163f13e1b8560e01b815260040160405180910390fd5b6003546000036107fc57600760009054906101000a90046001600160a01b03166001600160a01b031663d13181b86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f89190611bc0565b6003555b565b6108066106e3565b6006546040805163ac98e5df60e01b815290516000926001600160a01b03169163ac98e5df9160048083019260609291908290030181865afa158015610850573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108749190611bd9565b5050905060008160026108879190611d23565b90506000816002546108999190611d32565b90506000600660009054906101000a90046001600160a01b03166001600160a01b031663ba5810fd6040518163ffffffff1660e01b81526004016040805180830381865afa1580156108ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109139190611b7a565b5090508082106109365760405163b3f8c18960e01b815260040160405180910390fd5b60028054600101905561094a828787610c23565b610967576040516341acf34d60e01b815260040160405180910390fd5b5050506001929092555050565b60405163248f667760e01b815260009073__$ce9c2c925f157047e54fa833ec4e61409f$__9063248f6677906109ae908590600401611d49565b602060405180830381865af41580156109cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ef9190611bc0565b92915050565b60007f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001600283604051602001610a2b9190611d7a565b60408051601f1981840301815290829052610a4591611db0565b602060405180830381855afa158015610a62573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190610a859190611bc0565b6109ef9190611de2565b6000610a996115b8565b838152602081018390526106db815b6040516314d2f97b60e11b815260009073__$6574937f64fc1d7710ec0e28b7a36713bb$__906329a5f2f6906109ae908590600401611df6565b6107fc6113c7565b604051630926f44b60e31b815260009073__$20527677031d76601747626a9845039fe4$__90634937a258906109ae908590600401611e1e565b600080610b34858b8b8b8b61122c565b90506000600754600160a01b900460ff166002811115610b5657610b566117b8565b03610b9257610b6361159a565b610b6d8288610a8f565b81526020810185905260408101849052600154610b8982610eaf565b14925050610c07565b6001600754600160a01b900460ff166002811115610bb257610bb26117b8565b1480610bdb57506002600754600160a01b900460ff166002811115610bd957610bd96117b8565b145b15610c0757610be86115b8565b610bf28288610a8f565b8152602081018590526001546104f882610aa8565b5098975050505050505050565b6060610c1e611480565b905090565b6000806000600660009054906101000a90046001600160a01b03166001600160a01b031663ac98e5df6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610c7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9f9190611bd9565b50915091506000610cb08787610508565b90506000600660009054906101000a90046001600160a01b03166001600160a01b0316638b6e74636040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2b9190611e5b565b90506000600560009054906101000a90046001600160a01b03166001600160a01b031663f3350299836001600160a01b031663652c76e46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db59190611e78565b60075460405160e084901b6001600160e01b0319168152610de892918a918a91600160a01b900460ff1690600401611e95565b600060405180830381865afa158015610e05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e2d9190810190611f7d565b6004805460405163352a4d1560e01b81529293506001600160a01b03169163352a4d1591610e61918b9186918991016120eb565b602060405180830381865afa158015610e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea29190611b9e565b9998505050505050505050565b6040516304b98e1d60e31b815260009073__$dc01a9744591ab014bc46a3b7671cdaefb$__906325cc70e8906109ae9085906004016121cc565b600080600660009054906101000a90046001600160a01b03166001600160a01b031663ac98e5df6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610f3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f639190611bd9565b505090506000600660009054906101000a90046001600160a01b03166001600160a01b0316635ae9d4f16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe09190611bc0565b90506000600660009054906101000a90046001600160a01b03166001600160a01b031663c24a0f8b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611037573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105b9190611bc0565b90504281111561106e576000935061108c565b8161107a846002611d23565b6002546110879190611d32565b101593505b50505090565b61109a610ee9565b6110b757604051633e95b0b360e01b815260040160405180910390fd5b6006546040805163ac98e5df60e01b815290516000926001600160a01b03169163ac98e5df9160048083019260609291908290030181865afa158015611101573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111259190611bd9565b5091506000905061113683806121f4565b9050905060005b818110156111e0576111d861115285806121f4565b8381811061116257611162611b64565b9050602002013585806020019061117991906121f4565b8481811061118957611189611b64565b905060200201358680604001906111a091906121f4565b858181106111b0576111b0611b64565b90506020028101906111c291906121f4565b8860a001358960e001358a61010001358a61148b565b60010161113d565b506000611200846060013585608001358660c00135876101000135610646565b9050806112205760405163e5d02d8b60e01b815260040160405180910390fd5b50505060600135600a55565b60008061123a600587611de2565b905084915060006112496115d6565b60005b8960ff168160ff16101561134e5760005b60058160ff16101561132057848160ff16036112935785838260ff166005811061128957611289611b64565b6020020152611310565b848160ff1611156112b0576112a9600182612245565b93506112b4565b8093505b87878360ff168181106112c9576112c9611b64565b90506020028101906112db91906121f4565b8560ff168181106112ee576112ee611b64565b90506020020135838260ff166005811061130a5761130a611b64565b60200201525b6113198161225e565b905061125d565b5061132c60058a61227d565b985061133960058a611de2565b935061134482610aea565b945060010161124c565b5050505095945050505050565b600061136561159a565b8381526113728686610a8f565b60208201526040810183905260015461138a82610eaf565b149695505050505050565b600061139f6115b8565b8281526113ac8585610a8f565b60208201526001546113bd82610aa8565b1495945050505050565b6113cf611539565b60006113d9611480565b90506000806000806000858060200190518101906113f79190612291565b600480546001600160a01b038088166001600160a01b03199283161790925560058054838816908316179055600680548387169083161790556007805492851691831682178155969b5094995092975090955093508392916001600160a81b031990911617600160a01b836002811115611473576114736117b8565b0217905550505050505050565b6060610c1e3061156b565b600061149d8989898989878a8a610b24565b9050806114bd576040516341acf34d60e01b815260040160405180910390fd5b6000898152600860205260409020600181015460ff166114fd576001818101805460ff19169091179055600980549060006114f78361230a565b91905055505b88815560405189908b907fe92356b9aa3bf1d9a4af67d8b43ac7584d99dc6e179b3a4f5a1f1699d54f2c2c90600090a350505050505050505050565b60005460ff161561155c5760405162dc149f60e41b815260040160405180910390fd5b6000805460ff19166001179055565b60405164ffffffffff602c19833b0116808252602090810190602d908301843c60408101815101604052919050565b60405180606001604052806003906020820280368337509192915050565b60405180604001604052806002906020820280368337509192915050565b6040518060a001604052806005906020820280368337509192915050565b60ff8116811461160357600080fd5b50565b8035611611816115f4565b919050565b60008060008060008060008060e0898b03121561163257600080fd5b8835975060208901359650604089013567ffffffffffffffff81111561165757600080fd5b8901601f81018b1361166857600080fd5b803567ffffffffffffffff81111561167f57600080fd5b8b60208260051b840101111561169457600080fd5b60209190910196509450606089013593506116b160808a01611606565b979a969950949793969295929450505060a08201359160c0013590565b600080604083850312156116e157600080fd5b50508035926020909101359150565b600081518084526020840193506020830160005b82811015611722578151865260209586019590910190600101611704565b5093949350505050565b60208152600061173f60208301846116f0565b9392505050565b6000806000806080858703121561175c57600080fd5b5050823594602084013594506040840135936060013592509050565b8061010081018310156109ef57600080fd5b600080610120838503121561179e57600080fd5b823591506117af8460208501611778565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b600381106117ec57634e487b7160e01b600052602160045260246000fd5b9052565b602081016109ef82846117ce565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715611837576118376117fe565b60405290565b60405160a0810167ffffffffffffffff81118282101715611837576118376117fe565b604051601f8201601f1916810167ffffffffffffffff81118282101715611889576118896117fe565b604052919050565b6000608082840312156118a357600080fd5b600083601f8401126118b3578081fd5b806118be6080611860565b905080915060808401858111156118d457600080fd5b845b818110156118ee5780358452602093840193016118d6565b509095945050505050565b600067ffffffffffffffff821115611913576119136117fe565b5060051b60200190565b60006020828403121561192f57600080fd5b813567ffffffffffffffff81111561194657600080fd5b8201601f8101841361195757600080fd5b803561196a611965826118f9565b611860565b8082825260208201915060208360051b85010192508683111561198c57600080fd5b6020840193505b828410156119ae578335825260209384019390910190611993565b9695505050505050565b6000604082840312156119ca57600080fd5b600083601f8401126119da578081fd5b806119e56040611860565b905080915060408401858111156118d457600080fd5b600060a08284031215611a0d57600080fd5b600083601f840112611a1d578081fd5b80611a2860a0611860565b905080915060a08401858111156118d457600080fd5b600060208284031215611a5057600080fd5b5035919050565b60005b83811015611a72578181015183820152602001611a5a565b50506000910152565b6020815260008251806020840152611a9a816040850160208701611a57565b601f01601f19169190910160400192915050565b60008060006101408486031215611ac457600080fd5b8335925060208401359150611adc8560408601611778565b90509250925092565b600060608284031215611af757600080fd5b600083601f840112611b07578081fd5b80611b126060611860565b905080915060608401858111156118d457600080fd5b600060208284031215611b3a57600080fd5b813567ffffffffffffffff811115611b5157600080fd5b8201610120818503121561173f57600080fd5b634e487b7160e01b600052603260045260246000fd5b60008060408385031215611b8d57600080fd5b505080516020909101519092909150565b600060208284031215611bb057600080fd5b8151801515811461173f57600080fd5b600060208284031215611bd257600080fd5b5051919050565b600080600060608486031215611bee57600080fd5b8351611bf9816115f4565b6020850151909350611c0a816115f4565b6040850151909250611c1b816115f4565b809150509250925092565b634e487b7160e01b600052601160045260246000fd5b6001815b6001841115611c7757808504811115611c5b57611c5b611c26565b6001841615611c6957908102905b60019390931c928002611c40565b935093915050565b600082611c8e575060016109ef565b81611c9b575060006109ef565b8160018114611cb15760028114611cbb57611cd7565b60019150506109ef565b60ff841115611ccc57611ccc611c26565b50506001821b6109ef565b5060208310610133831016604e8410600b8410161715611cfa575081810a6109ef565b611d076000198484611c3c565b8060001904821115611d1b57611d1b611c26565b029392505050565b600061173f60ff841683611c7f565b80820281158282048414176109ef576109ef611c26565b60808101818360005b6004811015611d71578151835260209283019290910190600101611d52565b50505092915050565b8151600090829060208501835b82811015611da5578151845260209384019390910190600101611d87565b509195945050505050565b60008251611dc2818460208701611a57565b9190910192915050565b634e487b7160e01b600052601260045260246000fd5b600082611df157611df1611dcc565b500690565b60408101818360005b6002811015611d71578151835260209283019290910190600101611dff565b60a08101818360005b6005811015611d71578151835260209283019290910190600101611e27565b6001600160a01b038116811461160357600080fd5b600060208284031215611e6d57600080fd5b815161173f81611e46565b600060208284031215611e8a57600080fd5b815161173f816115f4565b60ff858116825284811660208301528316604082015260808101611ebc60608301846117ce565b95945050505050565b600060408284031215611ed757600080fd5b611edf611814565b825181526020928301519281019290925250919050565b600082601f830112611f0757600080fd5b611f116040611860565b806040840185811115611f2357600080fd5b845b818110156118ee578051845260209384019301611f25565b600060808284031215611f4f57600080fd5b611f57611814565b9050611f638383611ef6565b8152611f728360408401611ef6565b602082015292915050565b600060208284031215611f8f57600080fd5b815167ffffffffffffffff811115611fa657600080fd5b82016101e08185031215611fb957600080fd5b611fc161183d565b611fcb8583611ec5565b8152611fda8560408401611f3d565b6020820152611fec8560c08401611f3d565b6040820152611fff856101408401611f3d565b60608201526101c082015167ffffffffffffffff81111561201f57600080fd5b80830192505084601f83011261203457600080fd5b8151612042611965826118f9565b8082825260208201915060208360061b86010192508783111561206457600080fd5b6020850194505b828510156120905761207d8886611ec5565b825260208201915060408501945061206b565b6080840152509095945050505050565b8060005b60028110156120c35781518452602093840193909101906001016120a4565b50505050565b6120d48282516120a0565b60208101516120e660408401826120a0565b505050565b6101008482376101406101008201526000610320820161211a6101408401865180518252602090810151910152565b602085015161212d6101808501826120c9565b5060408501516121416102008501826120c9565b5060608501516121556102808501826120c9565b5060808501516101e0610300850152805191829052602001906000906103408501905b808310156121ac5761219582855180518252602090810151910152565b604082019150602084019350600183019250612178565b508481036101208601526121c081876116f0565b98975050505050505050565b60608101818360005b6003811015611d715781518352602092830192909101906001016121d5565b6000808335601e1984360301811261220b57600080fd5b83018035915067ffffffffffffffff82111561222657600080fd5b6020019150600581901b360382131561223e57600080fd5b9250929050565b60ff82811682821603908111156109ef576109ef611c26565b600060ff821660ff810361227457612274611c26565b60010192915050565b60008261228c5761228c611dcc565b500490565b600080600080600060a086880312156122a957600080fd5b85516122b481611e46565b60208701519095506122c581611e46565b60408701519094506122d681611e46565b60608701519093506122e781611e46565b6080870151909250600381106122fc57600080fd5b809150509295509295909350565b60006001820161231c5761231c611c26565b506001019056fea26469706673582212204260a07c8496a8a51af71ba9af3452c1d4d1e1042c407a4c5b3df55069d3a59a64736f6c634300081c0033"=_bytecode
Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:757
Methods
connect()
connect(
runner):Tally__factory
Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:753
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:746
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:741
Resolves to the transaction to deploy the contract, passing %%args%% into the constructor.
Parameters
overrides?
NonPayableOverrides & object
Returns
Promise<ContractDeployTransaction>
Overrides
ContractFactory.getDeployTransaction
connect()
staticconnect(address,runner?):Tally
Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:762
Parameters
address
string
runner?
ContractRunner | null
Returns
createInterface()
staticcreateInterface():TallyInterface
Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:759
Returns
TallyInterface
linkBytecode()
staticlinkBytecode(linkLibraryAddresses):string
Defined in: contracts/typechain-types/factories/contracts/Tally__factory.ts:707
Parameters
linkLibraryAddresses
TallyLibraryAddresses
Returns
string