Skip to main content
added 166 characters in body
Source Link
Mikko Ohtamaa
  • 23k
  • 7
  • 65
  • 133

Vestings are handled by smart contractsIf you have the contract ABI and address, you can use web3.py to call the contract and fetch its past emitted events. Based on this information, you cannot program Ethereum smart contracts incan construct on the Python side what has happened and what is the current contract state.

Here is an example linear vesting contractMore information in Web3.py documentation how to interact with the contracts.

Vestings are handled by smart contracts, and you cannot program Ethereum smart contracts in Python.

Here is an example linear vesting contract.

If you have the contract ABI and address, you can use web3.py to call the contract and fetch its past emitted events. Based on this information, you can construct on the Python side what has happened and what is the current contract state.

More information in Web3.py documentation how to interact with the contracts.

Source Link
Mikko Ohtamaa
  • 23k
  • 7
  • 65
  • 133

Vestings are handled by smart contracts, and you cannot program Ethereum smart contracts in Python.

Here is an example linear vesting contract.