FeedProjects
Developers
Settings
🎉 A new chapter begins: Boardroom has joined Agora
Learn more
protocol logo
Explore / Projects
M^0

Proposals

Members

Information

Create Proposal

M^0

ProposalsMembersInformation
ProposalExecutable Code
Back to Proposals
executedEnds a year ago Â·  Standard Governor

# Add Solana $M (Wrapped) to the Solana Earners List

By 0xDc01...bdE771

This proposal adds the $M (Wrapped) (symbol = wM) Solana Vault to the ‘solana-earners’ list, in preparation for the deployment of $M and $M (Wrapped) on Solana.

Solana differs from Ethereum in that individual user balances are not stored on the Token ‘Mint’, but in individual Token Accounts. The owner of a Token Account controls the balance and must sign any transaction that moves those tokens. For a Program to sign transactions and control tokens, it must use a Program Derived Account (PDA), which is a sub-address of the Program derived from the hash of the Program address and a seed value. As a result PDA values are deterministic from the Program address (aka ID or PubKey) and the seed. For our purposes, the wM token’s M Extension Program custodies M tokens in a Token Account owned by its M Vault PDA. For the M held in the Program under this PDA to earn yield, it must be added as an Earner.

Similar to Ethereum M earners, Solana M earners must be added to a list on the TTGRegistrar contract by Governance. This list is compiled into a Merkle tree by the new MerkleTreeBuilder contract. The root of this Merkle tree is sent to Solana via the M Portal Bridge. Since Solana addresses are longer (32 bytes) than EVM addresses (20 bytes), we must use the more generic setKey(bytes32 key, bytes32 value) function on the TTGRegistrar. The key is calculated as `keccak256(abi.encodePacked(bytes32(‘solana-earners’),bytes32(0x75d03cbc601c7143e02620783c2d31eee8c51897f080da17be44aeb6e3298490))). The value is just a boolean flag, so we set it to 1 (meaning the address is a member of the list).

The wM addresses for the Solana deployment are as follows:

Account NameAddress (base58)Address (hex)
wM MintmzeroXDoBpRVhnEXBra27qzAMdxgpWVY3DzQW7xMVJp0x0b86be66bc1f98b47d20a3be615a4905a825b826864e2a0f4c948467d33ee709
wM ExtEarn ProgramwMXX1K1nca5W4pZr1piETe78gcAVVrEFi9f4g46uXko0x0dec929c1657125a082002795a20598f05b5b765ba2db60dec8a6305428fd3b4
wM ExtEarn M Vault8vtsGdu4ErjK2skhV7FfPQwXdae6myWjgWJ8gRMnXi2K0x75d03cbc601c7143e02620783c2d31eee8c51897f080da17be44aeb6e3298490
wM ExtEarn Mint AuthorityAnfx7wng5TEe5UrkFKTirtADBawmtRs9KoD15BUbEmvT0x916c5c2b4c583c98318d512aadba6c4bd21b8731959b032fe890ee640af40ed4
Continue Reading
Connect Wallet to Add Note
0
Never Miss a ProposalSign up for M^0 notifications
Cast Vote
Votes 57
VoterCast PowerVote & Rationale
0x76Df...9D7695
303,259

YES

0x2dE6...ae0624
297,510

YES

0x26AE...19b387
297,510

YES

0x3A65...234F84
258,041

YES

0xAb36...Ee7772
175,484

NO

SHOW MORE
VOTE POWER
0
Zero Token
/
0
Power Token
Connect Wallet
Proposal Status
  • Fri April 04 2025, 05:28 pmPublished Onchain 0xDc01...bdE771
  • Wed April 09 2025, 01:00 pmVoting Period Starts
  • Thu April 24 2025, 01:00 pmEnd Voting Period
  • Queue Proposal
  • Thu April 24 2025, 01:08 pmExecute Proposal
Current Results

1-YES

2.102M

89.17%

2-NO

255,274

10.83%
Quorum 2.357M/1
DocumentationBrandingContact Us
Home
This Project is Currently Disabled

If you would like to enable it, please checkout below.

Boardroom Subscription

Sign up for an individual subscription (access all projects on the platform)

Subscribe
Enable Project

Enable the entire project for every user

Enable Project
Contact Us
Press space bar to start a drag. When dragging you can use the arrow keys to move the item around and escape to cancel. Some screen readers may require you to be in focus mode or to use your pass through key