Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EIP: Financial Bonds #7092

Merged
merged 100 commits into from
Jul 25, 2023
Merged

Add EIP: Financial Bonds #7092

merged 100 commits into from
Jul 25, 2023

Conversation

Edoumou
Copy link
Contributor

@Edoumou Edoumou commented May 29, 2023

When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md

We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met:

  • The PR edits only existing draft PRs.
  • The build passes.
  • Your GitHub username or email address is listed in the 'author' header of all affected PRs, inside .
  • If matching on email address, the email address is the one publicly listed on your GitHub profile.

@Edoumou Edoumou requested a review from eth-bot as a code owner May 29, 2023 11:24
@github-actions github-actions bot added c-new Creates a brand new proposal s-draft This EIP is a Draft t-erc labels May 29, 2023
@eth-bot
Copy link
Collaborator

eth-bot commented May 29, 2023

File EIPS/eip-7092.md

Requires 1 more reviewers from @axic, @Pandapip1, @SamWilsn, @xinbenlv

@eth-bot eth-bot added the e-consensus Waiting on editor consensus label May 29, 2023
@github-actions github-actions bot added the w-ci Waiting on CI to pass label May 29, 2023
@github-actions github-actions bot removed the w-ci Waiting on CI to pass label May 29, 2023
@github-actions github-actions bot added the w-ci Waiting on CI to pass label May 30, 2023
@eth-bot eth-bot added the e-review Waiting on editor to review label May 30, 2023
@github-actions github-actions bot removed the w-ci Waiting on CI to pass label May 30, 2023
EIPS/eip-7092.md Outdated Show resolved Hide resolved
EIPS/eip-7092.md Outdated Show resolved Hide resolved
EIPS/eip-7092.md Outdated Show resolved Hide resolved
EIPS/eip-7092.md Outdated Show resolved Hide resolved
EIPS/eip-7092.md Outdated Show resolved Hide resolved
EIPS/eip-7092.md Outdated Show resolved Hide resolved
@github-actions github-actions bot added the w-ci Waiting on CI to pass label Jul 25, 2023
@github-actions github-actions bot removed the w-ci Waiting on CI to pass label Jul 25, 2023
Co-authored-by: lightclient <[email protected]>
EIPS/eip-7092.md Outdated Show resolved Hide resolved
@github-actions
Copy link

The commit 62358ad (as a parent of a6d216a) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot added the w-ci Waiting on CI to pass label Jul 25, 2023
@github-actions github-actions bot removed the w-ci Waiting on CI to pass label Jul 25, 2023
@Edoumou Edoumou requested a review from lightclient July 25, 2023 12:22
@Edoumou
Copy link
Contributor Author

Edoumou commented Jul 25, 2023

Hello @lightclient

I just added changes you requested. Can you review and approve them ?

Copy link
Member

@lightclient lightclient left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last issue. All EIPs must be in the public domain.

assets/eip-7092/IERC7092.sol Outdated Show resolved Hide resolved
assets/eip-7092/ERC7092.sol Outdated Show resolved Hide resolved
assets/eip-7092/BondStorage.sol Outdated Show resolved Hide resolved
@Edoumou
Copy link
Contributor Author

Edoumou commented Jul 25, 2023

One last issue. All EIPs must be in the public domain.

Hello @lightclient

I just updated the License from MIT to CC0-1.0

Copy link
Member

@lightclient lightclient left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@lightclient lightclient merged commit b8c088d into ethereum:master Jul 25, 2023
streamnft-tech pushed a commit to streamnft-tech/EIPs that referenced this pull request Oct 27, 2023
* Add financial bonds draft

* Update eip-financial_bonds.md

* Update and rename eip-financial_bonds.md to eip-7092.md

* Add embedded options logic

* Update eip-7092.md

* Update eip-7092.md

* change disapprove functions to decreaseAllowance functions

* Update eip-7092.md

* update to RECOMMENDED

* change IERC to IERC7092

* change event Disapprove to AllowanceDecreased

* Create ERC7092.sol in the assets folder

* Move eip-7092 in EIPS folder

* Rename eip-7092 to eip-7092.md

* Create IERC7092.sol

* Create BondStorage.sol

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* updates ref

* Update ref

* remove md file in the EIP root

* change disapprove to decreaseAllowance

* Update eip-7092.md

* Create CouponMath.sol

* change EIP to EIP7092 in CouponMath.sol

* Update BondStorage.sol

* Update embedded options functions

* Update ERC7092.sol

* Update BondStorage.sol

* Update contracts with embeded options

* wip

* fix a couple of typos

As proposed by @fosgate29

* change transfers functions to return a boolean

* change _transfer function to return a bioolean

* implement a third level heading for bonds embedded options title

* update specs

* update motivation

* update rational

* update

* Update eip-7092

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* update rationale

* return boolean for approve function

* Update eip-7092.md

* return boolean to approve and decrease allowance

* Update ERC7092.sol

* Update Rationale

* Update

* Update eip-7092

* Add optional key

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update ERC7092.sol

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* add totalSupply and balanceOf in BondStorage

* add totalSupply and balanceOf functions

* add totalSupply and balanceOf functions

* remove totalSupply and balanceOf in bondStorage - already defined in ERC contract

* Update eip-7092.md

* Update CouponMath.sol

* update text: replace tracker by explorer

* add link to etherscan

* remove link: not supported

* update the eip-7092 according to comments from @lightclient

* keep backward compatibility as sub-sub-section for tests to pass

* Update EIPS/eip-7092.md

Co-authored-by: lightclient <[email protected]>

* Update eip-7092.md

* UIpdarte the Backward Compatibility to appear as a section

* Update assets/eip-7092/IERC7092.sol

Co-authored-by: lightclient <[email protected]>

* Update assets/eip-7092/ERC7092.sol

Co-authored-by: lightclient <[email protected]>

* Update assets/eip-7092/BondStorage.sol

Co-authored-by: lightclient <[email protected]>

* Update CouponMath.sol

---------

Co-authored-by: lightclient <[email protected]>
RaphaelHardFork pushed a commit to RaphaelHardFork/EIPs that referenced this pull request Jan 30, 2024
* Add financial bonds draft

* Update eip-financial_bonds.md

* Update and rename eip-financial_bonds.md to eip-7092.md

* Add embedded options logic

* Update eip-7092.md

* Update eip-7092.md

* change disapprove functions to decreaseAllowance functions

* Update eip-7092.md

* update to RECOMMENDED

* change IERC to IERC7092

* change event Disapprove to AllowanceDecreased

* Create ERC7092.sol in the assets folder

* Move eip-7092 in EIPS folder

* Rename eip-7092 to eip-7092.md

* Create IERC7092.sol

* Create BondStorage.sol

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* updates ref

* Update ref

* remove md file in the EIP root

* change disapprove to decreaseAllowance

* Update eip-7092.md

* Create CouponMath.sol

* change EIP to EIP7092 in CouponMath.sol

* Update BondStorage.sol

* Update embedded options functions

* Update ERC7092.sol

* Update BondStorage.sol

* Update contracts with embeded options

* wip

* fix a couple of typos

As proposed by @fosgate29

* change transfers functions to return a boolean

* change _transfer function to return a bioolean

* implement a third level heading for bonds embedded options title

* update specs

* update motivation

* update rational

* update

* Update eip-7092

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* update rationale

* return boolean for approve function

* Update eip-7092.md

* return boolean to approve and decrease allowance

* Update ERC7092.sol

* Update Rationale

* Update

* Update eip-7092

* Add optional key

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update ERC7092.sol

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* add totalSupply and balanceOf in BondStorage

* add totalSupply and balanceOf functions

* add totalSupply and balanceOf functions

* remove totalSupply and balanceOf in bondStorage - already defined in ERC contract

* Update eip-7092.md

* Update CouponMath.sol

* update text: replace tracker by explorer

* add link to etherscan

* remove link: not supported

* update the eip-7092 according to comments from @lightclient

* keep backward compatibility as sub-sub-section for tests to pass

* Update EIPS/eip-7092.md

Co-authored-by: lightclient <[email protected]>

* Update eip-7092.md

* UIpdarte the Backward Compatibility to appear as a section

* Update assets/eip-7092/IERC7092.sol

Co-authored-by: lightclient <[email protected]>

* Update assets/eip-7092/ERC7092.sol

Co-authored-by: lightclient <[email protected]>

* Update assets/eip-7092/BondStorage.sol

Co-authored-by: lightclient <[email protected]>

* Update CouponMath.sol

---------

Co-authored-by: lightclient <[email protected]>
just-a-node pushed a commit to connext/EIPs that referenced this pull request Feb 17, 2024
* Add financial bonds draft

* Update eip-financial_bonds.md

* Update and rename eip-financial_bonds.md to eip-7092.md

* Add embedded options logic

* Update eip-7092.md

* Update eip-7092.md

* change disapprove functions to decreaseAllowance functions

* Update eip-7092.md

* update to RECOMMENDED

* change IERC to IERC7092

* change event Disapprove to AllowanceDecreased

* Create ERC7092.sol in the assets folder

* Move eip-7092 in EIPS folder

* Rename eip-7092 to eip-7092.md

* Create IERC7092.sol

* Create BondStorage.sol

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* updates ref

* Update ref

* remove md file in the EIP root

* change disapprove to decreaseAllowance

* Update eip-7092.md

* Create CouponMath.sol

* change EIP to EIP7092 in CouponMath.sol

* Update BondStorage.sol

* Update embedded options functions

* Update ERC7092.sol

* Update BondStorage.sol

* Update contracts with embeded options

* wip

* fix a couple of typos

As proposed by @fosgate29

* change transfers functions to return a boolean

* change _transfer function to return a bioolean

* implement a third level heading for bonds embedded options title

* update specs

* update motivation

* update rational

* update

* Update eip-7092

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* update rationale

* return boolean for approve function

* Update eip-7092.md

* return boolean to approve and decrease allowance

* Update ERC7092.sol

* Update Rationale

* Update

* Update eip-7092

* Add optional key

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update ERC7092.sol

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* add totalSupply and balanceOf in BondStorage

* add totalSupply and balanceOf functions

* add totalSupply and balanceOf functions

* remove totalSupply and balanceOf in bondStorage - already defined in ERC contract

* Update eip-7092.md

* Update CouponMath.sol

* update text: replace tracker by explorer

* add link to etherscan

* remove link: not supported

* update the eip-7092 according to comments from @lightclient

* keep backward compatibility as sub-sub-section for tests to pass

* Update EIPS/eip-7092.md

Co-authored-by: lightclient <[email protected]>

* Update eip-7092.md

* UIpdarte the Backward Compatibility to appear as a section

* Update assets/eip-7092/IERC7092.sol

Co-authored-by: lightclient <[email protected]>

* Update assets/eip-7092/ERC7092.sol

Co-authored-by: lightclient <[email protected]>

* Update assets/eip-7092/BondStorage.sol

Co-authored-by: lightclient <[email protected]>

* Update CouponMath.sol

---------

Co-authored-by: lightclient <[email protected]>
GAEAlimited pushed a commit to GAEAlimited/EIPs that referenced this pull request Jun 19, 2024
* Add financial bonds draft

* Update eip-financial_bonds.md

* Update and rename eip-financial_bonds.md to eip-7092.md

* Add embedded options logic

* Update eip-7092.md

* Update eip-7092.md

* change disapprove functions to decreaseAllowance functions

* Update eip-7092.md

* update to RECOMMENDED

* change IERC to IERC7092

* change event Disapprove to AllowanceDecreased

* Create ERC7092.sol in the assets folder

* Move eip-7092 in EIPS folder

* Rename eip-7092 to eip-7092.md

* Create IERC7092.sol

* Create BondStorage.sol

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* updates ref

* Update ref

* remove md file in the EIP root

* change disapprove to decreaseAllowance

* Update eip-7092.md

* Create CouponMath.sol

* change EIP to EIP7092 in CouponMath.sol

* Update BondStorage.sol

* Update embedded options functions

* Update ERC7092.sol

* Update BondStorage.sol

* Update contracts with embeded options

* wip

* fix a couple of typos

As proposed by @fosgate29

* change transfers functions to return a boolean

* change _transfer function to return a bioolean

* implement a third level heading for bonds embedded options title

* update specs

* update motivation

* update rational

* update

* Update eip-7092

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* update rationale

* return boolean for approve function

* Update eip-7092.md

* return boolean to approve and decrease allowance

* Update ERC7092.sol

* Update Rationale

* Update

* Update eip-7092

* Add optional key

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* Update ERC7092.sol

* Update eip-7092.md

* Update eip-7092.md

* Update eip-7092.md

* add totalSupply and balanceOf in BondStorage

* add totalSupply and balanceOf functions

* add totalSupply and balanceOf functions

* remove totalSupply and balanceOf in bondStorage - already defined in ERC contract

* Update eip-7092.md

* Update CouponMath.sol

* update text: replace tracker by explorer

* add link to etherscan

* remove link: not supported

* update the eip-7092 according to comments from @lightclient

* keep backward compatibility as sub-sub-section for tests to pass

* Update EIPS/eip-7092.md

Co-authored-by: lightclient <[email protected]>

* Update eip-7092.md

* UIpdarte the Backward Compatibility to appear as a section

* Update assets/eip-7092/IERC7092.sol

Co-authored-by: lightclient <[email protected]>

* Update assets/eip-7092/ERC7092.sol

Co-authored-by: lightclient <[email protected]>

* Update assets/eip-7092/BondStorage.sol

Co-authored-by: lightclient <[email protected]>

* Update CouponMath.sol

---------

Co-authored-by: lightclient <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-new Creates a brand new proposal e-consensus Waiting on editor consensus e-review Waiting on editor to review s-draft This EIP is a Draft t-erc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants