Skip to content

Commit 598c56a

Browse files
committed
Update the list of excluded functions
1 parent 113feb2 commit 598c56a

File tree

2 files changed

+1
-29
lines changed

2 files changed

+1
-29
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ $(OUTDIR)/inflation_controller.py: $(call gentargets,InflationController)
4242
$(call abigen,$^) >$@
4343

4444
$(OUTDIR)/liquid_logic.py: $(call gentargets,LiquidLogic)
45-
$(call abigen,$^) --exclude burn,lock,mint,redistribute,setCommissionRate,unlock >$@
45+
$(call abigen,$^) --exclude burn,lock,lockFrom,mint,redistribute,setCommissionRate,unlock >$@
4646

4747
$(OUTDIR)/omission_accountability.py: $(call gentargets,OmissionAccountability)
4848
$(call abigen,$^) --exclude distributeProposerRewards,finalize,setCommittee,setEpochBlock,setOperator >$@

autonity/contracts/liquid_logic.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -291,34 +291,6 @@ def get_validator(
291291
return_value = self._contract.functions.getValidator().call()
292292
return eth_typing.ChecksumAddress(return_value)
293293

294-
def lock_from(
295-
self,
296-
_account: eth_typing.ChecksumAddress,
297-
_caller: eth_typing.ChecksumAddress,
298-
_amount: int,
299-
) -> contract.ContractFunction:
300-
"""Binding for `lockFrom` on the LiquidLogic contract.
301-
302-
Lock LNTN from `_account` to unbond at the epoch end. `_caller` is the caller
303-
and must have enough `unbondingAllowance`.
304-
305-
Parameters
306-
----------
307-
_account : eth_typing.ChecksumAddress
308-
_caller : eth_typing.ChecksumAddress
309-
_amount : int
310-
311-
Returns
312-
-------
313-
web3.contract.contract.ContractFunction
314-
A contract function instance to be sent in a transaction.
315-
"""
316-
return self._contract.functions.lockFrom(
317-
_account,
318-
_caller,
319-
_amount,
320-
)
321-
322294
def locked_balance_of(
323295
self,
324296
_delegator: eth_typing.ChecksumAddress,

0 commit comments

Comments
 (0)