Skip to content

feat: distribute ZRC20 rewards function

Codecov / codecov/patch failed Oct 17, 2024 in 1s

5.95% of diff hit (target 65.76%)

View this Pull Request on Codecov

5.95% of diff hit (target 65.76%)

Annotations

Check warning on line 143 in precompiles/staking/logs.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/logs.go#L133-L143

Added lines #L133 - L143 were not covered by tests

Check warning on line 150 in precompiles/staking/logs.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/logs.go#L145-L150

Added lines #L145 - L150 were not covered by tests

Check warning on line 154 in precompiles/staking/logs.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/logs.go#L152-L154

Added lines #L152 - L154 were not covered by tests

Check warning on line 29 in precompiles/staking/method_distribute.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_distribute.go#L23-L29

Added lines #L23 - L29 were not covered by tests

Check warning on line 35 in precompiles/staking/method_distribute.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_distribute.go#L32-L35

Added lines #L32 - L35 were not covered by tests

Check warning on line 41 in precompiles/staking/method_distribute.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_distribute.go#L38-L41

Added lines #L38 - L41 were not covered by tests

Check warning on line 47 in precompiles/staking/method_distribute.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_distribute.go#L44-L47

Added lines #L44 - L47 were not covered by tests

Check warning on line 56 in precompiles/staking/method_distribute.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_distribute.go#L51-L56

Added lines #L51 - L56 were not covered by tests

Check warning on line 64 in precompiles/staking/method_distribute.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_distribute.go#L59-L64

Added lines #L59 - L64 were not covered by tests

Check warning on line 72 in precompiles/staking/method_distribute.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_distribute.go#L67-L72

Added lines #L67 - L72 were not covered by tests

Check warning on line 79 in precompiles/staking/method_distribute.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_distribute.go#L74-L79

Added lines #L74 - L79 were not covered by tests

Check warning on line 81 in precompiles/staking/method_distribute.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_distribute.go#L81

Added line #L81 was not covered by tests

Check warning on line 90 in precompiles/staking/method_distribute.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_distribute.go#L84-L90

Added lines #L84 - L90 were not covered by tests

Check warning on line 97 in precompiles/staking/method_distribute.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_distribute.go#L92-L97

Added lines #L92 - L97 were not covered by tests

Check warning on line 99 in precompiles/staking/method_distribute.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_distribute.go#L99

Added line #L99 was not covered by tests

Check warning on line 22 in precompiles/staking/method_get_all_validators.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_get_all_validators.go#L11-L22

Added lines #L11 - L22 were not covered by tests

Check warning on line 24 in precompiles/staking/method_get_all_validators.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_get_all_validators.go#L24

Added line #L24 was not covered by tests

Check warning on line 29 in precompiles/staking/method_get_shares.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_get_shares.go#L17-L29

Added lines #L17 - L29 were not covered by tests

Check warning on line 36 in precompiles/staking/method_get_shares.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_get_shares.go#L31-L36

Added lines #L31 - L36 were not covered by tests

Check warning on line 41 in precompiles/staking/method_get_shares.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_get_shares.go#L38-L41

Added lines #L38 - L41 were not covered by tests

Check warning on line 47 in precompiles/staking/method_get_shares.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_get_shares.go#L43-L47

Added lines #L43 - L47 were not covered by tests

Check warning on line 49 in precompiles/staking/method_get_shares.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_get_shares.go#L49

Added line #L49 was not covered by tests

Check warning on line 30 in precompiles/staking/method_move_stake.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_move_stake.go#L24-L30

Added lines #L24 - L30 were not covered by tests

Check warning on line 37 in precompiles/staking/method_move_stake.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_move_stake.go#L32-L37

Added lines #L32 - L37 were not covered by tests

Check warning on line 41 in precompiles/staking/method_move_stake.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/staking/method_move_stake.go#L39-L41

Added lines #L39 - L41 were not covered by tests