pub struct GovernorVotesUpgradeable { /* private fields */ }
Expand description

Generated by ethcontract

Implementations

Retrieves the raw contract instance used to generate the type safe API for this contract.

Creates a new contract instance with the specified web3 provider at the given Address.

Note that this does not verify that a contract with a matching Abi is actually deployed at the given address.

Creates a new contract instance with the specified web3 provider with the given Abi at the given Address and an optional transaction hash. This hash is used to retrieve contract related information such as the creation block (which is useful for fetching all historic events).

Note that this does not verify that a contract with a matching Abi is actually deployed at the given address nor that the transaction hash, when provided, is actually for this contract deployment.

Returns the contract address being used by this instance.

Returns the deployment information of the contract if it is known, None otherwise.

Returns a reference to the default method options used by this contract.

Returns a mutable reference to the default method options used by this contract.

Returns a reference to the raw runtime instance used by this contract.

Returns an object that allows accessing typed method signatures.

Retrieves a reference to type containing all the generated contract methods. This can be used for methods where the name would collide with a common method (like at or deployed).

Retrieves a handle to a type containing for creating event streams for all the contract events.

Returns a log stream with all events.

Methods from Deref<Target = Methods>

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Generated by ethcontract

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.