ABSTRACT
In order to achieve the automatic and non-inductive reimbursement of invoices and eliminate the various inconveniences as well as risks caused by artificial reimbursement, this paper creatively combines blockchain technology with electronic invoices. This system realizes interactive flows ...
# Root Cause
- The DCF token’s transfer mechanism enforces a forced investment. When the DCF token is sent to the the USDT-DCF liquidity pool, 5% of tokens are automatically swapped for USDT within the same pool and then added as liquidity to the USDT-DCT pool. This action triggers a swap in th...
...跟sources文件夹同级别的tests文件夹内。
```rust
public fun a_greater_than_b(a: u64, b: u64): bool{
a >= b
}
#[test]
public fun test_a_greater_than_b() {
let a = 10;
let b = 12;
assert!(!a_greater_than_b(a, b), 0);
}
```
assert即将被丢弃,建议...