algorand / algorand/pyteal

Add `read_only` boolean flag to ABI methods

Đang mở
#542 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
new-feature-request Team Scytale
Ngôn ngữ chính
Python
Star
288
Fork
138
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Problem

[ARC22](https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0022.md) describes a way to mark methods as `read only`, to denote they should not be called through the normal transaction process.

## Solution

Add a `read_only` argument to the methods that allow defining an ABI method and pass it through to the `contract.json`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.