Skip to content

[Feature]: Safe u256 <> u64 conversion #38

@bidzyyys

Description

@bidzyyys

What is the feature you would like to see?

Add a function to convert u256 ETH balance into u64 and vice versa.

DeFi projects on Sui use u64 as the main data type once Ethereum uses u256. It brings potential security issues with brigdes and other use cases.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Review

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions