Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

Add pre-buy and post-buy hooks #75

@tspoff

Description

@tspoff
  • Allows for arbitrary logic contracts that are hooked into before and after the buy function

These allow dynamic expansions of bonding curve functionality.

  • It calls the external hook contracts in a loop on the given event.
  • There are no parameters passed in at the moment, but we could serialize and deserialize a bytes array.
  • They are capable of reverting the contract or modifying the bonding curve contract variables.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions