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: "0x60e060405234801561001057600080fd5b50604051610a3b380380610a3b83398101604081905261002f91610068565b6001600160a01b0392831660805260a0919091521660c0526100a4565b80516001600160a01b038116811461006357600080fd5b919050565b60008060006060848603121561007d57600080fd5b6100868461004c565b92506020840151915061009b6040850161004c565b90509250925092565b60805160a05160c05161090261013960003960008181609a015281816101f9015281816102fb01528181610504015281816105f9015261070401526000818160e10152818161018f015281816103a50152818161049a0152818161058f015261069a0152600081816056015281816102280152818161032a0152818161041f01528181610628015261073301526109026000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806347b0c3b31461005157806366d003ac14610095578063a3112a64146100bc578063f8895cc8146100dc575b600080fd5b6100787f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100787f000000000000000000000000000000000000000000000000000000000000000081565b6100cf6100ca366004610783565b610111565b60405161008c91906107e2565b6101037f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161008c565b604080516101408101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e082018390526101008201929092526101208101919091526001829003610278576040518061014001604052806000805160206108ad83398151915281526020017f0000000000000000000000000000000000000000000000000000000000000000815260200160006001600160401b0316815260200160006001600160401b0316815260200160016001600160401b031681526020016000805160206108ad83398151915281526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602001600115158152602001604051806020016040528060008152508152509050919050565b600282900361037a576040518061014001604052806000805160206108ad83398151915281526020016000805160206108ad833981519152815260200160006001600160401b0316815260200160006001600160401b0316815260200160006001600160401b031681526020016000805160206108ad83398151915281526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602001600015158152602001604051806020016040528060008152508152509050919050565b600382900361046f576040518061014001604052806000805160206108ad83398151915281526020017f0000000000000000000000000000000000000000000000000000000000000000815260200160006001600160401b0316815260200160006001600160401b0316815260200160006001600160401b031681526020016000805160206108ad833981519152815260200160006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602001600015158152602001604051806020016040528060008152508152509050919050565b6004829003610564576040518061014001604052806000805160206108ad83398151915281526020017f0000000000000000000000000000000000000000000000000000000000000000815260200160006001600160401b0316815260200160006001600160401b0316815260200160006001600160401b031681526020016000805160206108ad83398151915281526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316815260200160006001600160a01b03168152602001600015158152602001604051806020016040528060008152508152509050919050565b6005829003610678576040518061014001604052806000805160206108ad83398151915281526020017f0000000000000000000000000000000000000000000000000000000000000000815260200160006001600160401b0316815260200160016001600160401b0316815260200160006001600160401b031681526020016000805160206108ad83398151915281526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602001600015158152602001604051806020016040528060008152508152509050919050565b6040518061014001604052806000805160206108ad83398151915281526020017f0000000000000000000000000000000000000000000000000000000000000000815260200160006001600160401b0316815260200160006001600160401b0316815260200160006001600160401b031681526020016000805160206108ad83398151915281526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020017f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602001600015158152602001604051806020016040528060008152508152509050919050565b60006020828403121561079557600080fd5b5035919050565b6000815180845260005b818110156107c2576020818501810151868301820152016107a6565b506000602082860101526020601f19601f83011685010191505092915050565b6020815281516020820152602082015160408201526000604083015161081360608401826001600160401b03169052565b5060608301516001600160401b03811660808401525060808301516001600160401b03811660a08401525060a083015160c083015260c083015161086260e08401826001600160a01b03169052565b5060e08301516001600160a01b0381166101008401525061010083015180151561012084015250610120830151610140808401526108a461016084018261079c565b94935050505056fe3078303030303030303030303030303030303030303030303030303030303031a2646970667358221220bdca8e6b24e93150125304e0ddfdb65454e6cab38829d6b981127b2ce7a441c164736f6c634300081c0033" = _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