Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / MockEAS__factory

Class: MockEAS__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/test/extensions/mocks/MockEAS__factory.ts:168

Extends

  • ContractFactory

Constructors

Constructor

new MockEAS__factory(...args): MockEAS__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/test/extensions/mocks/MockEAS__factory.ts:169

Parameters

args

...MockEASConstructorParams

Returns

MockEAS__factory

Overrides

ContractFactory.constructor

Properties

abi

readonly static abi: readonly [{ inputs: readonly [{ internalType: "address"; name: "_attester"; type: "address"; }, { internalType: "bytes32"; name: "_schema"; type: "bytes32"; }, { internalType: "address"; name: "_recipient"; type: "address"; }]; stateMutability: "nonpayable"; type: "constructor"; }, { inputs: readonly []; name: "attester"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "bytes32"; name: "attestationId"; type: "bytes32"; }]; name: "getAttestation"; outputs: readonly [{ components: readonly [{ internalType: "bytes32"; name: "uid"; type: "bytes32"; }, { internalType: "bytes32"; name: "schema"; type: "bytes32"; }, { internalType: "uint64"; name: "time"; type: "uint64"; }, { internalType: "uint64"; name: "expirationTime"; type: "uint64"; }, { internalType: "uint64"; name: "revocationTime"; type: "uint64"; }, { internalType: "bytes32"; name: "refUID"; type: "bytes32"; }, { internalType: "address"; name: "recipient"; type: "address"; }, { internalType: "address"; name: "attester"; type: "address"; }, { internalType: "bool"; name: "revocable"; type: "bool"; }, { internalType: "bytes"; name: "data"; type: "bytes"; }]; internalType: "struct IEAS.Attestation"; name: ""; type: "tuple"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "recipient"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "schema"; outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }] = _abi

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/test/extensions/mocks/MockEAS__factory.ts:212


bytecode

readonly static bytecode: "0x60e060405234801561001057600080fd5b5060405161091238038061091283398101604081905261002f91610068565b6001600160a01b0392831660805260a0919091521660c0526100a4565b80516001600160a01b038116811461006357600080fd5b919050565b60008060006060848603121561007d57600080fd5b6100868461004c565b92506020840151915061009b6040850161004c565b90509250925092565b60805160a05160c0516107ee61012460003960008181609a015281816101f9015281816102fb0152818161050401526105f001526000818160e10152818161018f015281816103a50152818161049a01526105860152600081816056015281816102280152818161032a0152818161041f015261061f01526107ee6000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806347b0c3b31461005157806366d003ac14610095578063a3112a64146100bc578063f8895cc8146100dc575b600080fd5b6100787f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100787f000000000000000000000000000000000000000000000000000000000000000081565b6100cf6100ca36600461066f565b610111565b60405161008c91906106ce565b6101037f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161008c565b604080516101408101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082019290925261012081019190915260018290036102785760405180610140016040528060008051602061079983398151915281526020017f0000000000000000000000000000000000000000000000000000000000000000815260200160006001600160401b0316815260200160006001600160401b0316815260200160016001600160401b0316815260200160008051602061079983398151915281526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602001600115158152602001604051806020016040528060008152508152509050919050565b600282900361037a576040518061014001604052806000805160206107998339815191528152602001600080516020610799833981519152815260200160006001600160401b0316815260200160006001600160401b0316815260200160006001600160401b0316815260200160008051602061079983398151915281526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602001600015158152602001604051806020016040528060008152508152509050919050565b600382900361046f5760405180610140016040528060008051602061079983398151915281526020017f0000000000000000000000000000000000000000000000000000000000000000815260200160006001600160401b0316815260200160006001600160401b0316815260200160006001600160401b03168152602001600080516020610799833981519152815260200160006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602001600015158152602001604051806020016040528060008152508152509050919050565b60048290036105645760405180610140016040528060008051602061079983398151915281526020017f0000000000000000000000000000000000000000000000000000000000000000815260200160006001600160401b0316815260200160006001600160401b0316815260200160006001600160401b0316815260200160008051602061079983398151915281526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316815260200160006001600160a01b03168152602001600015158152602001604051806020016040528060008152508152509050919050565b60405180610140016040528060008051602061079983398151915281526020017f0000000000000000000000000000000000000000000000000000000000000000815260200160006001600160401b0316815260200160006001600160401b0316815260200160006001600160401b0316815260200160008051602061079983398151915281526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602001600015158152602001604051806020016040528060008152508152509050919050565b60006020828403121561068157600080fd5b5035919050565b6000815180845260005b818110156106ae57602081850181015186830182015201610692565b506000602082860101526020601f19601f83011685010191505092915050565b602081528151602082015260208201516040820152600060408301516106ff60608401826001600160401b03169052565b5060608301516001600160401b03811660808401525060808301516001600160401b03811660a08401525060a083015160c083015260c083015161074e60e08401826001600160a01b03169052565b5060e08301516001600160a01b038116610100840152506101008301518015156101208401525061012083015161014080840152610790610160840182610688565b94935050505056fe3078303030303030303030303030303030303030303030303030303030303031a26469706673582212205c0c89bf62e0aab2902bd1295e0a92bb9ea7d2ef584e33f2fbc7d43f88b112ba64736f6c634300081c0033" = _bytecode

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/test/extensions/mocks/MockEAS__factory.ts:211

Methods

connect()

connect(runner): MockEAS__factory

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/test/extensions/mocks/MockEAS__factory.ts:207

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

Parameters

runner

ContractRunner | null

Returns

MockEAS__factory

Overrides

ContractFactory.connect


deploy()

deploy(_attester, _schema, _recipient, overrides?): Promise<MockEAS & object>

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/test/extensions/mocks/MockEAS__factory.ts:190

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

_attester

AddressLike

_schema

BytesLike

_recipient

AddressLike

overrides?

NonPayableOverrides & object

Returns

Promise<MockEAS & object>

Overrides

ContractFactory.deploy


getDeployTransaction()

getDeployTransaction(_attester, _schema, _recipient, overrides?): Promise<ContractDeployTransaction>

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/test/extensions/mocks/MockEAS__factory.ts:177

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

Parameters

_attester

AddressLike

_schema

BytesLike

_recipient

AddressLike

overrides?

NonPayableOverrides & object

Returns

Promise<ContractDeployTransaction>

Overrides

ContractFactory.getDeployTransaction


connect()

static connect(address, runner?): MockEAS

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/test/extensions/mocks/MockEAS__factory.ts:216

Parameters

address

string

runner?

ContractRunner | null

Returns

MockEAS


createInterface()

static createInterface(): MockEASInterface

Defined in: contracts/typechain-types/factories/@excubiae/contracts/contracts/test/extensions/mocks/MockEAS__factory.ts:213

Returns

MockEASInterface