Feature/add execute on account #68
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
THIS IS STILL A DRAFT
Description
We add the ability for treasury contracts to include the abstract account address inside the authz and fee grants. This allows more account interoperability and allows interacting with Abstract more easily.
Contract Details
Please append all the required information below for the contract(s) being added to
contracts.json
.Required fields and their descriptions:
name
: Contract name (required)description
: Brief description of the contract's purposecode_id
: Contract code ID on mainnethash
: Contract hash in UPPERCASErelease
:url
: URL to the release/commit (e.g., https://github.com/org/repo/releases/tag/v1.0.0)version
: Version tag or first 7 chars of commit hashauthor
:name
: Organization nameurl
: Organization website URLgovernance
: "Genesis" or proposal numberdeprecated
: true if contract is deprecated (mixed inline with active contracts)Example JSON structure:
Finding Code ID and Hash
To find the latest code ID and hash:
Documentation Updates
The README.md is automatically generated from
contracts.json
. After making changes:Ensure you have the required dependencies:
brew install jq
(macOS) orapt-get install jq
(Ubuntu/Debian)Run the convert script to validate and update the README:
Commit both the
contracts.json
and generatedREADME.md
changescontracts.json
./convert.sh
locally, the CI will fail with a "README out of sync" errorValidation
The
convert.sh
script automatically performs these validations:If any validation fails, the script will show specific error messages to help you fix the issues.
Checklist
contracts.json
with all required fields./convert.sh
and fixed any validation errorscontracts.json
and generatedREADME.md
are included in the commitAdditional Notes