11"""Autonity contract binding and data structures."""
22
3- # This module has been generated using pyabigen v0.2.8
3+ # This module has been generated using pyabigen v0.2.9
44
55import enum
66import typing
@@ -147,11 +147,7 @@ def AppliedUnbondingReverted(self) -> typing.Type[base_contract.BaseContractEven
147147
148148 @property
149149 def Approval (self ) -> typing .Type [base_contract .BaseContractEvent ]:
150- """Binding for `event Approval` on the Autonity contract.
151-
152- Emitted when the allowance of a `spender` for an `owner` is set by a call to
153- {approve}. `value` is the new allowance.
154- """
150+ """Binding for `event Approval` on the Autonity contract."""
155151 return self ._contract .events .Approval
156152
157153 @property
@@ -181,11 +177,7 @@ def EpochPeriodUpdated(self) -> typing.Type[base_contract.BaseContractEvent]:
181177
182178 @property
183179 def MinimumBaseFeeUpdated (self ) -> typing .Type [base_contract .BaseContractEvent ]:
184- """Binding for `event MinimumBaseFeeUpdated` on the Autonity contract.
185-
186- Emitted when the Minimum Gas Price was updated and set to `gasPrice`. Note that
187- `gasPrice` may be zero.
188- """
180+ """Binding for `event MinimumBaseFeeUpdated` on the Autonity contract."""
189181 return self ._contract .events .MinimumBaseFeeUpdated
190182
191183 @property
@@ -243,11 +235,7 @@ def Rewarded(self) -> typing.Type[base_contract.BaseContractEvent]:
243235
244236 @property
245237 def Transfer (self ) -> typing .Type [base_contract .BaseContractEvent ]:
246- """Binding for `event Transfer` on the Autonity contract.
247-
248- Emitted when `value` tokens are moved from one account (`from`) to another
249- (`to`). Note that `value` may be zero.
250- """
238+ """Binding for `event Transfer` on the Autonity contract."""
251239 return self ._contract .events .Transfer
252240
253241 @property
@@ -257,10 +245,7 @@ def UnbondingRejected(self) -> typing.Type[base_contract.BaseContractEvent]:
257245
258246 @property
259247 def UnlockingScheduleFailed (self ) -> typing .Type [base_contract .BaseContractEvent ]:
260- """Binding for `event UnlockingScheduleFailed` on the Autonity contract.
261-
262- event to notify the failure in unlocking mechanism of the non-stakable schedules
263- """
248+ """Binding for `event UnlockingScheduleFailed` on the Autonity contract."""
264249 return self ._contract .events .UnlockingScheduleFailed
265250
266251 def commission_rate_precision (
@@ -304,8 +289,6 @@ def allowance(
304289 ) -> int :
305290 """Binding for `allowance` on the Autonity contract.
306291
307- See {IERC20-allowance}.
308-
309292 Parameters
310293 ----------
311294 owner : eth_typing.ChecksumAddress
@@ -328,8 +311,6 @@ def approve(
328311 ) -> contract .ContractFunction :
329312 """Binding for `approve` on the Autonity contract.
330313
331- See {IERC20-approve}. Requirements: - `spender` cannot be the zero address.
332-
333314 Parameters
334315 ----------
335316 spender : eth_typing.ChecksumAddress
@@ -517,8 +498,6 @@ def decimals(
517498 ) -> int :
518499 """Binding for `decimals` on the Autonity contract.
519500
520- ERC-20 Optional.
521-
522501 Returns
523502 -------
524503 int
@@ -594,8 +573,7 @@ def get_committee(
594573 ) -> typing .List [CommitteeMember ]:
595574 """Binding for `getCommittee` on the Autonity contract.
596575
597- Returns the block committee. Current block committee if called before
598- finalize(), next block if called after.
576+ Returns the block committee.
599577
600578 Returns
601579 -------
@@ -692,9 +670,6 @@ def get_minimum_base_fee(
692670 ) -> int :
693671 """Binding for `getMinimumBaseFee` on the Autonity contract.
694672
695- Autonity transaction's gas price must be greater or equal to the minimum gas
696- price.
697-
698673 Returns
699674 -------
700675 int
@@ -1048,8 +1023,6 @@ def name(
10481023 ) -> str :
10491024 """Binding for `name` on the Autonity contract.
10501025
1051- ERC-20 Optional.
1052-
10531026 Returns
10541027 -------
10551028 str
@@ -1064,8 +1037,7 @@ def pause_validator(
10641037 ) -> contract .ContractFunction :
10651038 """Binding for `pauseValidator` on the Autonity contract.
10661039
1067- Pause the validator and stop it accepting delegations. emit a
1068- {DisabledValidator} event.
1040+ Pause the validator and stop it accepting delegations.
10691041
10701042 Parameters
10711043 ----------
@@ -1107,7 +1079,6 @@ def register_validator(
11071079 Register a new validator in the system. The validator might be selected to be
11081080 part of consensus. This validator will have assigned to its treasury account the
11091081 caller of this function. A new token "Liquid Stake" is deployed at this phase.
1110- Emit a {RegisteredValidator} event.
11111082
11121083 Parameters
11131084 ----------
@@ -1330,8 +1301,7 @@ def set_minimum_base_fee(
13301301 ) -> contract .ContractFunction :
13311302 """Binding for `setMinimumBaseFee` on the Autonity contract.
13321303
1333- Set the minimum gas price. Restricted to the operator account. Emit a
1334- {MinimumBaseFeeUpdated} event.
1304+ Set the minimum gas price. Restricted to the operator account.
13351305
13361306 Parameters
13371307 ----------
@@ -1561,8 +1531,6 @@ def symbol(
15611531 ) -> str :
15621532 """Binding for `symbol` on the Autonity contract.
15631533
1564- ERC-20 Optional.
1565-
15661534 Returns
15671535 -------
15681536 str
@@ -1592,8 +1560,7 @@ def transfer(
15921560 ) -> contract .ContractFunction :
15931561 """Binding for `transfer` on the Autonity contract.
15941562
1595- Moves `amount` NTN stake tokens from the caller's account to `recipient`. Emits
1596- a {Transfer} event. Implementation of {IERC20 transfer}
1563+ Moves `amount` NTN stake tokens from the caller's account to `recipient`.
15971564
15981565 Parameters
15991566 ----------
@@ -1618,11 +1585,6 @@ def transfer_from(
16181585 ) -> contract .ContractFunction :
16191586 """Binding for `transferFrom` on the Autonity contract.
16201587
1621- See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated
1622- allowance. Requirements: - `sender` and `recipient` must be allowed to hold
1623- stake. - `sender` must have a balance of at least `amount`. - the caller must
1624- have allowance for ``sender``'s tokens of at least `amount`.
1625-
16261588 Parameters
16271589 ----------
16281590 _sender : eth_typing.ChecksumAddress
0 commit comments