Skip to content

#[contract] macro to simplify writing rust contracts - #17

Open
valentynfaychuk wants to merge 12 commits into
amadeusprotocol:mainfrom
valentynfaychuk:macro
Open

#[contract] macro to simplify writing rust contracts#17
valentynfaychuk wants to merge 12 commits into
amadeusprotocol:mainfrom
valentynfaychuk:macro

Conversation

@valentynfaychuk

Copy link
Copy Markdown
Member

No description provided.

@valentynfaychukvalentynfaychuk self-assigned this Dec 30, 2025
@valentynfaychukvalentynfaychuk added bug Something isn't working enhancement New feature or request labels Dec 30, 2025
Comment threadex/lib/api/api_tx.ex

action = TX.action(tx)
action = if !BlsEx.validate_public_key(action.contract) do action else
action = if is_binary(action.contract) and byte_size(action.contract) == 48 do

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

related to a display bug

"tx": {
"action": {
"args": [],
"attached_amount": "1500000000",
"attached_symbol": "AMA",
"contract": "�����?\u0017�m�\"MY���ě\u000blQ\u000f��E���\u0019�(o_\u001b.3����#�Zc�\r",
"function": "deposit",
"op": "call"
},
"nonce": 1767069968846563000,
"signer": "7nKaJ9FhBMdFGFHHNAX7DVuiSdtqVX1xKZSjTxRwXKvixAvRQJCzVb48rFGipwxpim"
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Fixed this in other commit

Signed-off-by: Valentyn Faychuk <valy@faychuk.com>
Signed-off-by: Valentyn Faychuk <valy@faychuk.com>
Signed-off-by: Valentyn Faychuk <valy@faychuk.com>
Signed-off-by: Valentyn Faychuk <valy@faychuk.com>
Signed-off-by: Valentyn Faychuk <valy@faychuk.com>
Signed-off-by: Valentyn Faychuk <valy@faychuk.com>
Signed-off-by: Valentyn Faychuk <valy@faychuk.com>
Signed-off-by: Valentyn Faychuk <valy@faychuk.com>
Signed-off-by: Valentyn Faychuk <valy@faychuk.com>
Signed-off-by: Valentyn Faychuk <valy@faychuk.com>
Signed-off-by: Valentyn Faychuk <valy@faychuk.com>
Signed-off-by: Valentyn Faychuk <valy@faychuk.com>
@vans163
vans163force-pushed the main branch 3 times, most recently from c114929 to 0899bceCompareJune 14, 2026 01:49
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@valentynfaychuk@vans163