Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ add
Function
add
wasmtest/contracts-rust/helloworld/src/lib.rs:9–11 ·
view source on GitHub ↗
(a: U128, b: U128)
Source
from the content-addressed store, hash-verified
7
8
#[no_mangle]
9
pub fn add(a: U128, b: U128) -> U128 {
10
a + b
11
}
12
13
#[no_mangle]
14
pub fn invoke() {
Callers
1
invoke
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected