From b38d39000879b40c11314222be7b9c993ead448d Mon Sep 17 00:00:00 2001 From: rzry <1319339638@qq.com> Date: Tue, 12 Apr 2022 18:17:34 +0800 Subject: [PATCH] fix:fix Signed-off-by: rzry <1319339638@qq.com> --- basic/75-golang-dapp/.go-dapp.org.~undo-tree~ | 292 ------------------ 1 file changed, 292 deletions(-) delete mode 100644 basic/75-golang-dapp/.go-dapp.org.~undo-tree~ diff --git a/basic/75-golang-dapp/.go-dapp.org.~undo-tree~ b/basic/75-golang-dapp/.go-dapp.org.~undo-tree~ deleted file mode 100644 index f37766940..000000000 --- a/basic/75-golang-dapp/.go-dapp.org.~undo-tree~ +++ /dev/null @@ -1,292 +0,0 @@ -(undo-tree-save-format-version . 1) -"d0b756658295426422d16735abae5a08f84f7388" -[nil nil nil nil (25173 20108 176100 0) 0 nil] -([nil current ((11065 . 11208) (#("#+begin_src - 在可以使用go 来调用合约后,可以在链下进行很多操作. - 比如三明治机器人,闪电贷机器人,抢购Nft,等等都可以操作. - 但是链下数据对比链上,以及每条链内存池,以及上链时间的变化都各有千秋. - 路漫漫其修远兮.吾将上下而求索. - - 附一张成功的图 -#+end_src" 0 11 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 11505) 11 12 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line) 12 143 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 143 152 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 11065) (undo-tree-id0 . -152) (11043 . 11047) (#(" " 0 1 (fontified nil)) . -11041) (11036 . 11041) (#(" " 0 5 (fontified nil)) . -11010) (11001 . 11010) (#(" " 0 5 (fontified nil)) . -10983) (10974 . 10983) (#(" " 0 5 (fontified nil)) . -10972) (10963 . 10972) (#(" " 0 7 (fontified nil)) . -10943) (10932 . 10943) (#(" " 0 5 (fontified nil)) . -10890) (10881 . 10890) (#(" " 0 5 (fontified nil)) . -10853) (10844 . 10853) (#(" " 0 5 (fontified nil)) . -10827) (10818 . 10827) (10774 . 10778) (#(" " 0 3 (fontified nil)) . -10772) (10765 . 10772) (#(" " 0 7 (fontified nil)) . -10758) (10747 . 10758) (#(" " 0 7 (fontified nil)) . -10679) (10668 . 10679) (#(" " 0 7 (fontified nil)) . -10624) (10613 . 10624) (#(" " 0 7 (fontified nil)) . -10611) (10600 . 10611) (#(" " 0 11 (fontified nil)) . -10593) (10578 . 10593) (#(" " 0 7 (fontified nil)) . -10562) (10551 . 10562) (#(" " 0 7 (fontified nil)) . -10505) (10494 . 10505) (#(" " 0 7 (fontified nil)) . -10474) (10463 . 10474) (#(" " 0 7 (fontified nil)) . -10390) (10379 . 10390) (#(" " 0 7 (fontified nil)) . -10347) (10336 . 10347) (#(" " 0 7 (fontified nil)) . -10334) (10323 . 10334) (#(" " 0 11 (fontified nil)) . -10321) (10306 . 10321) (#(" " 0 15 (fontified nil)) . -10265) (10246 . 10265) (#(" " 0 15 (fontified nil)) . -10243) (10224 . 10243) (#(" " 0 19 (fontified nil)) . -10209) (10186 . 10209) (#(" " 0 15 (fontified nil)) . -10150) (10131 . 10150) (#(" " 0 11 (fontified nil)) . -10117) (10102 . 10117) (#(" " 0 15 (fontified nil)) . -10061) (10042 . 10061) (#(" " 0 15 (fontified nil)) . -10039) (10020 . 10039) (#(" " 0 19 (fontified nil)) . -10004) (9981 . 10004) (#(" " 0 15 (fontified nil)) . -9945) (9926 . 9945) (#(" " 0 11 (fontified nil)) . -9908) (9893 . 9908) (#(" " 0 15 (fontified nil)) . -9831) (9812 . 9831) (#(" " 0 15 (fontified nil)) . -9809) (9790 . 9809) (#(" " 0 19 (fontified nil)) . -9778) (9755 . 9778) (#(" " 0 15 (fontified nil)) . -9719) (9700 . 9719) (#(" " 0 11 (fontified nil)) . -9684) (9669 . 9684) (#(" " 0 15 (fontified nil)) . -9627) (9608 . 9627) (#(" " 0 15 (fontified nil)) . -9606) (9587 . 9606) (#(" " 0 19 (fontified nil)) . -9580) (9557 . 9580) (#(" " 0 15 (fontified nil)) . -9541) (9522 . 9541) (#(" " 0 15 (fontified nil)) . -9479) (9460 . 9479) (#(" " 0 15 (fontified nil)) . -9457) (9438 . 9457) (#(" " 0 19 (fontified nil)) . -9428) (9405 . 9428) (#(" " 0 15 (fontified nil)) . -9369) (9350 . 9369) (#(" " 0 11 (fontified nil)) . -9336) (9321 . 9336) (#(" " 0 15 (fontified nil)) . -9279) (9260 . 9279) (#(" " 0 15 (fontified nil)) . -9258) (9239 . 9258) (#(" " 0 19 (fontified nil)) . -9232) (9209 . 9232) (#(" " 0 15 (fontified nil)) . -9193) (9174 . 9193) (#(" " 0 15 (fontified nil)) . -9131) (9112 . 9131) (#(" " 0 15 (fontified nil)) . -9109) (9090 . 9109) (#(" " 0 19 (fontified nil)) . -9078) (9055 . 9078) (#(" " 0 15 (fontified nil)) . -9019) (9000 . 9019) (#(" " 0 11 (fontified nil)) . -8984) (8969 . 8984) (#(" " 0 11 (fontified nil)) . -8954) (8939 . 8954) (#(" " 0 7 (fontified nil)) . -8908) (8897 . 8908) (#(" " 0 7 (fontified nil)) . -8869) (8858 . 8869) (#(" " 0 7 (fontified nil)) . -8835) (8824 . 8835) (#(" " 0 7 (fontified nil)) . -8799) (8788 . 8799) (#(" " 0 7 (fontified nil)) . -8759) (8748 . 8759) (#(" " 0 7 (fontified nil)) . -8746) (8735 . 8746) (#(" " 0 11 (fontified nil)) . -8728) (8713 . 8728) (#(" " 0 7 (fontified nil)) . -8681) (8670 . 8681) (#(" " 0 7 (fontified nil)) . -8668) (8657 . 8668) (#(" " 0 11 (fontified nil)) . -8650) (8635 . 8650) (#(" " 0 7 (fontified nil)) . -8618) (8607 . 8618) (#(" " 0 7 (fontified nil)) . -8605) (8594 . 8605) (#(" " 0 11 (fontified nil)) . -8592) (8577 . 8592) (#(" " 0 15 (fontified nil)) . -8564) (8545 . 8564) (#(" " 0 31 (fontified nil)) . -8494) (8459 . 8494) (#(" " 0 11 (fontified nil)) . -8456) (8441 . 8456) (#(" " 0 15 (fontified nil)) . -8432) (8413 . 8432) (#(" " 0 15 (fontified nil)) . -8402) (8383 . 8402) (#(" " 0 11 (fontified nil)) . -8366) (8351 . 8366) (#(" " 0 11 (fontified nil)) . -8349) (8334 . 8349) (#(" " 0 15 (fontified nil)) . -8325) (8306 . 8325) (#(" " 0 15 (fontified nil)) . -8274) (8255 . 8274) (#(" " 0 11 (fontified nil)) . -8230) (8215 . 8230) (#(" " 0 7 (fontified nil)) . -8193) (8182 . 8193) (#(" " 0 7 (fontified nil)) . -8180) (8169 . 8180) (#(" " 0 11 (fontified nil)) . -8157) (8142 . 8157) (#(" " 0 11 (fontified nil)) . -8126) (8111 . 8126) (#(" " 0 11 (fontified nil)) . -8097) (8082 . 8097) (#(" " 0 7 (fontified nil)) . -8076) (8065 . 8076) (#(" " 0 7 (fontified nil)) . -8034) (8023 . 8034) (#(" " 0 7 (fontified nil)) . -8006) (7995 . 8006) (#(" " 0 7 (fontified nil)) . -7951) (7940 . 7951) (#(" " 0 7 (fontified nil)) . -7891) (7880 . 7891) (#(" " 0 7 (fontified nil)) . -7837) (7826 . 7837) (#(" " 0 7 (fontified nil)) . -7790) (7779 . 7790) (#(" " 0 7 (fontified nil)) . -7736) (7725 . 7736) (#(" " 0 7 (fontified nil)) . -7711) (7700 . 7711) (#(" " 0 4 (fontified nil)) . -7622) (7614 . 7622) (#(" " 0 4 (fontified nil)) . -7600) (7592 . 7600) (7573 . 7577) (7573 . 10668) (#(" #+begin_src go - //此为处理 abi的函数 - func dealAbi(abis string, inputs []string) (method abi.Method, data []byte) { - //定义pack的数据类型 - u256, _ := abi.NewType(\"uint256\", \"\", nil) - u8, _ := abi.NewType(\"u8\", \"\", nil) - addr, _ := abi.NewType(\"address\", \"\", nil) - byteslic, _ := abi.NewType(\"bytes32[]\", \"\", nil) - newType, _ := abi.NewType(\"bytes\", \"\", nil) - //将string 按 \" 分割 - x := strings.Split(abis, \"\\\"\") - var ( - m string - params []string - ispay bool - ) - for k, v := range x { - if v == \"internalType\" { - params = append(params, x[k+2]) - continue - } - if v == \"name\" { - m = x[k+2] - continue - } - - if v == \"stateMutability\" && x[k+2] == \"payable\" { - ispay = true - } - } - if len(m) == 0 { - return - } - if len(params) != len(inputs) { - return - } - // 一顿遍历后获得了一个params 代表有多少个参数 - var input []abi.Argument - // 遍历所有参数后 append到 数组中 - var packinput []interface{} - for k, param := range params { - switch param { - case \"uint256\": - input = append(input, abi.Argument{ - Type: u256, - }) - d, err := decimal.NewFromString(inputs[k]) - if err != nil { - return - } - packinput = append(packinput, d.BigInt()) - case \"uint8\": - input = append(input, abi.Argument{ - Type: u8, - }) - d, err := decimal.NewFromString(inputs[k]) - if err != nil { - return - } - packinput = append(packinput, d.BigInt()) - case \"address\": - input = append(input, abi.Argument{ - Type: addr, - }) - packinput = append(packinput, common.HexToAddress(inputs[k])) - case \"bytes32[]\": - input = append(input, abi.Argument{ - Type: byteslic, - }) - packinput = append(packinput, inputs[k]) - case \"bytes\": - input = append(input, abi.Argument{ - Type: newType, - }) - packinput = append(packinput, inputs[k]) - } - } - // 调用NewMethod 函数, 来 构建我们请求的函数. - method = abi.NewMethod(m, m, abi.Function, \"\", false, ispay, input, nil) - // 再将inpit数组 pack起来 - data, err := method.Inputs.Pack(packinput...) - if err != nil { - return - } - //再将Method.Sig部分于 data拼起来,就是我们newTx时候的data了 - data = bytesCombine(crypto.Keccak256([]byte(method.Sig))[:4], data) - return - } - func bytesCombine(b ...[]byte) []byte { - length := len(b) - s := make([][]byte, length) - for index := 0; index < length; index++ { - s[index] = b[index] - } - sep := []byte(\"\") - return bytes.Join(s, sep) - } - #+end_src" 0 18 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 7823) 18 19 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line composition nil prettify-symbols-start nil prettify-symbols-end nil) 19 29 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 29 31 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 31 43 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 43 53 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 53 57 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 57 58 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 58 65 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 65 66 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 66 70 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 70 71 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 71 77 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 77 79 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 79 85 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 85 88 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 88 94 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 94 97 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 97 103 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 103 104 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 104 114 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 114 116 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 116 120 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 120 123 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 123 127 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 127 144 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 144 146 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 146 158 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 158 171 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 171 175 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 175 177 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 177 178 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 178 186 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 186 193 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 193 194 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 194 203 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 203 205 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 205 207 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 207 209 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 209 212 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 212 227 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 227 229 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 229 231 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 231 232 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 232 240 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 240 247 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 247 248 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 248 252 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 252 254 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 254 256 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 256 258 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 258 261 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 261 276 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 276 280 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 280 282 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 282 283 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 283 291 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 291 298 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 298 299 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 299 308 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 308 310 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 310 312 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 312 314 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 314 317 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 317 332 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 332 340 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 340 342 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 342 343 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 343 351 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 351 358 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 358 359 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 359 370 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 370 372 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 372 374 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 374 376 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 376 379 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 379 394 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 394 401 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 401 403 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 403 404 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 404 412 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 412 419 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 419 420 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 420 427 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 427 429 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 429 431 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 431 433 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 433 436 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 436 451 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 451 453 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 453 468 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 468 481 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 481 482 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 482 494 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 494 499 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 499 506 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 506 507 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 507 508 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 508 510 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 510 525 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 525 528 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 528 548 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 548 549 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 549 555 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 555 561 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 561 579 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 579 585 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 585 588 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 588 594 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 594 612 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 612 617 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 617 619 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 619 623 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 623 652 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 652 655 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 655 656 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 656 657 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 657 659 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 659 660 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 660 664 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 664 669 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 669 691 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 691 693 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 693 699 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 699 713 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 713 746 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 746 752 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 752 790 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 790 798 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 798 835 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 835 837 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 837 843 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 843 849 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 849 905 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 905 913 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 913 951 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 951 971 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 971 973 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 973 976 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 976 979 (fontified nil font-lock-fontified t src-block t font-lock-multiline t org-emphasis t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 979 996 (fontified nil font-lock-fontified t src-block t font-lock-multiline t org-emphasis t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 996 1009 (fontified nil font-lock-fontified t src-block t font-lock-multiline t org-emphasis t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1009 1010 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1010 1019 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1019 1021 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1021 1051 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1051 1055 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1055 1103 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1103 1105 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1105 1106 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1106 1109 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1109 1137 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1137 1143 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1143 1172 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1172 1174 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1174 1175 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1175 1178 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1178 1190 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1190 1193 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1193 1221 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1221 1227 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1227 1256 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1256 1259 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1259 1285 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1285 1298 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1298 1301 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1301 1302 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1302 1307 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1307 1310 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1310 1322 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1322 1336 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1336 1339 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1339 1359 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1359 1372 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1372 1375 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1375 1376 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1376 1385 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1385 1388 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1388 1397 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1397 1413 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1413 1416 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1416 1417 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1417 1418 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1418 1420 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1420 1425 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1425 1429 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1429 1434 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1434 1461 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1461 1467 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1467 1493 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1493 1497 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1497 1498 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1498 1507 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1507 1519 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1519 1538 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1538 1544 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1544 1552 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1552 1564 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1564 1591 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1591 1595 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1595 1648 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1648 1649 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1649 1651 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1651 1654 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1654 1666 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1666 1679 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1679 1712 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1712 1714 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1714 1722 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1722 1725 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1725 1753 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1753 1759 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1759 1816 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1816 1822 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1822 1836 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1836 1842 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1842 1863 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1863 1867 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1867 1868 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1868 1875 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1875 1906 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1906 1912 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1912 1920 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1920 1932 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1932 1959 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1959 1963 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1963 2014 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2014 2015 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2015 2017 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2017 2020 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2020 2032 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2032 2045 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2045 2078 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2078 2080 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2080 2088 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2088 2091 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2091 2119 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2119 2125 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2125 2182 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2182 2188 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2188 2202 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2202 2208 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2208 2229 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2229 2233 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2233 2234 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2234 2243 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2243 2274 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2274 2280 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2280 2288 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2288 2300 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2300 2327 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2327 2331 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2331 2396 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2396 2402 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2402 2421 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2421 2433 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2433 2463 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2463 2467 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2467 2468 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2468 2479 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2479 2510 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2510 2516 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2516 2524 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2524 2536 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2536 2563 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2563 2567 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2567 2636 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2636 2642 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2642 2682 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2682 2686 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2686 2687 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2687 2694 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2694 2725 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2725 2731 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2731 2739 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2739 2751 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2751 2778 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2778 2782 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2782 2850 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2850 2856 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2856 2926 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2926 2929 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2929 2958 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2958 2984 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2984 2993 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 2993 3014 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3014 3016 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3016 3018 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3018 3023 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3023 3039 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3039 3042 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3042 3057 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3057 3060 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3060 3077 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3077 3090 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3090 3094 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3094 3096 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3096 3099 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3099 3117 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3117 3121 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3121 3149 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3149 3151 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3151 3159 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3159 3162 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3162 3182 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3182 3188 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3188 3217 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3217 3219 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3219 3261 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3261 3281 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3281 3293 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3293 3301 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3301 3310 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3310 3313 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3313 3317 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3317 3355 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3355 3361 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3361 3379 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3379 3383 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3383 3384 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3384 3396 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3396 3397 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3397 3398 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3398 3404 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3404 3408 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3408 3412 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3412 3416 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3416 3430 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3430 3436 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3436 3440 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3440 3443 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3443 3458 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3458 3459 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3459 3463 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3463 3467 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-builtin-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3467 3472 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3472 3476 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3476 3497 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3497 3500 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3500 3501 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3501 3506 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3506 3596 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3596 3599 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3599 3605 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3605 3609 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3609 3610 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3610 3612 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3612 3625 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3625 3631 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3631 3638 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3638 3642 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 3642 3660 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block)) 3660 3673 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 7573) (7559 . 7563) (7553 . 7557) (#(" " 0 4 (fontified nil)) . -7538) (7530 . 7538) (#(" " 0 4 (fontified nil)) . -7528) (7520 . 7528) (#(" " 0 8 (fontified nil)) . -7513) (7501 . 7513) (#(" " 0 4 (fontified nil)) . -7431) (7423 . 7431) (#(" " 0 4 (fontified nil)) . -7412) (7404 . 7412) (#(" " 0 4 (fontified nil)) . -7402) (7394 . 7402) (#(" " 0 8 (fontified nil)) . -7387) (7375 . 7387) (#(" " 0 4 (fontified nil)) . -7359) (7351 . 7359) (#(" " 0 4 (fontified nil)) . -7295) (7287 . 7295) (#(" " 0 4 (fontified nil)) . -7281) (7273 . 7281) (#(" " 0 4 (fontified nil)) . -7271) (7263 . 7271) (#(" " 0 8 (fontified nil)) . -7256) (7244 . 7256) (#(" " 0 4 (fontified nil)) . -7228) (7220 . 7228) (#(" " 0 4 (fontified nil)) . -7186) (7178 . 7186) (#(" " 0 4 (fontified nil)) . -7171) (7163 . 7171) (#(" " 0 4 (fontified nil)) . -7160) (7152 . 7160) (#(" " 0 8 (fontified nil)) . -7135) (7123 . 7135) (#(" " 0 8 (fontified nil)) . -7074) (7062 . 7074) (#(" " 0 8 (fontified nil)) . -7040) (7028 . 7040) (#(" " 0 8 (fontified nil)) . -7000) (6988 . 7000) (#(" " 0 8 (fontified nil)) . -6942) (6930 . 6942) (#(" " 0 8 (fontified nil)) . -6884) (6872 . 6884) (#(" " 0 8 (fontified nil)) . -6833) (6821 . 6833) (#(" " 0 8 (fontified nil)) . -6803) (6791 . 6803) (#(" " 0 8 (fontified nil)) . -6773) (6761 . 6773) (#(" " 0 4 (fontified nil)) . -6722) (6714 . 6722) (#(" " 0 4 (fontified nil)) . -6687) (6679 . 6687) (#(" " 0 4 (fontified nil)) . -6677) (6669 . 6677) (#(" " 0 8 (fontified nil)) . -6662) (6650 . 6662) (#(" " 0 4 (fontified nil)) . -6634) (6626 . 6634) (#(" " 0 4 (fontified nil)) . -6591) (6583 . 6591) (#(" " 0 4 (fontified nil)) . -6573) (6565 . 6573) (#(" " 0 4 (fontified nil)) . -6563) (6555 . 6563) (#(" " 0 8 (fontified nil)) . -6548) (6536 . 6548) (#(" " 0 4 (fontified nil)) . -6520) (6512 . 6520) (#(" " 0 4 (fontified nil)) . -6485) (6477 . 6485) (#(" " 0 4 (fontified nil)) . -6464) (6456 . 6464) (#(" " 0 4 (fontified nil)) . -6433) (6425 . 6433) (#(" " 0 4 (fontified nil)) . -6409) (6401 . 6409) (#(" " 0 4 (fontified nil)) . -6348) (6340 . 6348) (#(" " 0 4 (fontified nil)) . -6253) (6245 . 6253) (6212 . 6216) (6193 . 6197) (6193 . 7392) (#(" #+begin_src go - //也是删除掉无关紧要的代码后的结果,并不具备运行能力. - func (d *Dynamic) NewTx(key string, new bool) (txHash *types.Transaction, err error) { - // DealAbi 函数就是在根据合约地址拿到ABi后自动截取我所需要的那一段,然后返回拼凑的data - // 具体的实现,我会贴在下面 - _, data := d.DealAbi() - // 获取ChainId - chain, err := d.GetChain() - if err != nil { - return - } - //获取nonce - nonce, err := d.GetNonce(new, key) - if err != nil { - return - } - // 调用Eth 库 NewTx 来发起一笔新的交易 - tx := types.NewTx(&types.DynamicFeeTx{ - ChainID: chain, - Nonce: nonce, - // utils.toEthers 是将string转decimal扩大9位 - GasTipCap: utils.ToEthers(d.Gas, 9).BigInt(), - GasFeeCap: utils.ToEthers(d.Gas, 9).BigInt(), - Gas: uint64(2150000), - To: d.GetTo(), - Value: utils.ToEthers(d.Value, 18).BigInt(), - Data: data, - }) - //获取私钥 - private, err := d.getPrivate(key) - if err != nil { - return - } - // 签名 - tx, err = types.SignTx(tx, d.Getsigner(chain), private) - if err != nil { - return - } - // 发送到内存池中 - if err = d.Cc.SendTransaction(context.Background(), tx); err != nil { - return - } - return tx, err - } - #+end_src" 0 18 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 6357) 18 19 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line composition nil prettify-symbols-start nil prettify-symbols-end nil) 19 25 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 25 27 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 27 54 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 54 64 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 64 68 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 68 70 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 70 71 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 71 73 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 73 80 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 80 82 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 82 87 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 87 88 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 88 91 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 91 92 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 92 98 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 98 100 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 100 103 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 103 104 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 104 108 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 108 111 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 111 117 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 117 119 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 119 136 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 136 138 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 138 141 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 141 142 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 142 147 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 147 161 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 161 164 (fontified nil font-lock-fontified t src-block t font-lock-multiline t org-emphasis t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 164 214 (fontified nil font-lock-fontified t src-block t font-lock-multiline t org-emphasis t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 214 224 (fontified nil font-lock-fontified t src-block t font-lock-multiline t org-emphasis t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 224 226 (fontified nil font-lock-fontified t src-block t font-lock-multiline t org-emphasis t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 226 227 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 227 240 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 240 250 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 250 251 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 251 253 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 253 257 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 257 263 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 263 270 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 270 283 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 283 286 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 286 296 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 296 306 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 306 311 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 311 313 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 313 316 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 316 322 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 322 330 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 330 343 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 343 345 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 345 353 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 353 356 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 356 373 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 373 379 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 379 402 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 402 404 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 404 412 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 412 422 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 422 427 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 427 429 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 429 432 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 432 438 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 438 446 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 446 467 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 467 469 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 469 477 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 477 480 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 480 497 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 497 503 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 503 526 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 526 529 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 529 553 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 553 563 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 563 565 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 565 575 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 575 580 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 580 582 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 582 600 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 600 616 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 616 623 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 623 648 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 648 653 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 653 680 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 680 683 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 683 719 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 719 733 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 733 742 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 742 750 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 750 758 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 758 769 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 769 775 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 775 793 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 793 802 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 802 810 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 810 818 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 818 829 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 829 835 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 835 853 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 853 856 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 856 864 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 864 870 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 870 895 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 895 897 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 897 908 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 908 913 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 913 931 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 931 936 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 936 948 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 948 956 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 956 970 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 970 976 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 976 994 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 994 998 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 998 1034 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1034 1036 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1036 1041 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1041 1051 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1051 1058 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1058 1060 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1060 1063 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1063 1069 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1069 1079 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1079 1095 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1095 1097 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1097 1105 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1105 1108 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1108 1125 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1125 1131 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1131 1154 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1154 1157 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1157 1160 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1160 1186 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1186 1192 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1192 1199 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1199 1208 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1208 1236 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1236 1238 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1238 1246 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1246 1249 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1249 1258 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1258 1266 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1266 1272 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1272 1295 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1295 1298 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1298 1306 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1306 1316 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1316 1318 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1318 1330 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1330 1345 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1345 1354 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1354 1364 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1364 1380 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1380 1383 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1383 1400 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1400 1406 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1406 1429 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1429 1435 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 1435 1452 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block)) 1452 1465 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 6193) (6178 . 6182) (6155 . 6159) (6121 . 6125) (6088 . 6092) (6055 . 6059) (6019 . 6023) (6002 . 6006) (6002 . 6163) (#(" #+begin_src - 前几天有小伙伴在群内问,如果没有开源的合约怎么调用之类的问题. - 恰好之前的写抢购公开Nft的脚本的时候有一部分代码重合. - 场景是要在很快的时间来根据Abi获取到Go能调用的函数. - 然后拼凑参数,监控目前请求的Gas,排序后,发起一笔交易. - 这部分代码比较多,我们只关注发起交易 - #+end_src" 0 15 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 6167) 15 16 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line) 16 175 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 175 188 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 6002) (5969 . 5973) (5950 . 5954) (5900 . 5904) (5851 . 5855) (5834 . 5838) (5834 . 5962) (#(" #+begin_src - 有了Auth,就可以请求Swap的接口了,有时候有一些需求,比如项目方需要给很多地址空投 - 那使用go的线程池,你只用维护一个全局唯一累加的nonce,就可以很快的将所有交易全发出. - (不过这个也要谨慎哦...) - #+end_src" 0 15 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 6000) 15 16 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line) 16 83 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 83 115 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 115 134 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 134 147 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 5834) (5820 . 5824) (5814 . 5818) (#(" " 0 4 (fontified nil)) . -5807) (5799 . 5807) (#(" " 0 4 (fontified nil)) . -5779) (5771 . 5779) (#(" " 0 4 (fontified nil)) . -5757) (5749 . 5757) (#(" " 0 4 (fontified nil)) . -5700) (5692 . 5700) (#(" " 0 4 (fontified nil)) . -5678) (5670 . 5678) (#(" " 0 4 (fontified nil)) . -5633) (5625 . 5633) (#(" " 0 4 (fontified nil)) . -5610) (5602 . 5610) (#(" " 0 4 (fontified nil)) . -5564) (5556 . 5564) (#(" " 0 4 (fontified nil)) . -5546) (5538 . 5546) (#(" " 0 4 (fontified nil)) . -5536) (5528 . 5536) (#(" " 0 8 (fontified nil)) . -5521) (5509 . 5521) (#(" " 0 4 (fontified nil)) . -5493) (5485 . 5493) (#(" " 0 4 (fontified nil)) . -5414) (5406 . 5414) (#(" " 0 4 (fontified nil)) . -5391) (5383 . 5391) (#(" " 0 4 (fontified nil)) . -5328) (5320 . 5328) (#(" " 0 4 (fontified nil)) . -5307) (5299 . 5307) (#(" " 0 4 (fontified nil)) . -5297) (5289 . 5297) (#(" " 0 8 (fontified nil)) . -5282) (5270 . 5282) (#(" " 0 4 (fontified nil)) . -5261) (5253 . 5261) (#(" " 0 4 (fontified nil)) . -5192) (5184 . 5192) (#(" " 0 4 (fontified nil)) . -5176) (5168 . 5176) (#(" " 0 4 (fontified nil)) . -5166) (5158 . 5166) (#(" " 0 8 (fontified nil)) . -5151) (5139 . 5151) (#(" " 0 4 (fontified nil)) . -5123) (5115 . 5123) (#(" " 0 4 (fontified nil)) . -5047) (5039 . 5047) (#(" " 0 4 (fontified nil)) . -5029) (5021 . 5029) (#(" " 0 4 (fontified nil)) . -5019) (5011 . 5019) (#(" " 0 8 (fontified nil)) . -5004) (4992 . 5004) (#(" " 0 4 (fontified nil)) . -4976) (4968 . 4976) (#(" " 0 4 (fontified nil)) . -4915) (4907 . 4915) (#(" " 0 4 (fontified nil)) . -4888) (4880 . 4888) (#(" " 0 4 (fontified nil)) . -4878) (4870 . 4878) (#(" " 0 8 (fontified nil)) . -4863) (4851 . 4863) (#(" " 0 4 (fontified nil)) . -4835) (4827 . 4835) (#(" " 0 4 (fontified nil)) . -4774) (4766 . 4774) (#(" " 0 4 (fontified nil)) . -4754) (4746 . 4754) (#(" " 0 4 (fontified nil)) . -4744) (4736 . 4744) (#(" " 0 8 (fontified nil)) . -4729) (4717 . 4729) (#(" " 0 4 (fontified nil)) . -4701) (4693 . 4701) (#(" " 0 4 (fontified nil)) . -4636) (4628 . 4636) (#(" " 0 4 (fontified nil)) . -4620) (4612 . 4620) (#(" " 0 2 (fontified nil)) . -4542) (4536 . 4542) (4517 . 4521) (4517 . 5653) (#(" #+begin_src go - func Auth(opt *options.Config) (auth *bind.TransactOpts, err error) { - //获取Gas - gas, err := opt.Ci.SuggestGasPrice(context.Background()) - if err != nil { - return - } - //获取chainId - chainId, err := opt.Ci.ChainID(context.Background()) - if err != nil { - return - } - //根据私钥获取PrivateKey - privateKey, err := crypto.HexToECDSA(opt.PrivateKey) - if err != nil { - return - } - //获取到auth - auth, err = bind.NewKeyedTransactorWithChainID(privateKey, chainId) - if err != nil { - return - } - //获取到公钥 - publicKeyECDSA, ok := privateKey.Public().(*ecdsa.PublicKey) - if !ok { - return - } - //根据公钥获取from - fromAddress := crypto.PubkeyToAddress(*publicKeyECDSA) - //获取from的nonce - nonce, err := opt.Ci.PendingNonceAt(context.Background(), fromAddress) - if err != nil { - return - } - //修改nonce - auth.Nonce = big.NewInt(int64(nonce)) - //修改 msg.value - auth.Value = big.NewInt(0) // in wei - //修改 gaslimit - auth.GasLimit = uint64(opt.GasLimit) // in units - // 修改GasPrice - auth.GasPrice = gas - return - } - #+end_src" 0 18 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 4597) 18 19 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line composition nil prettify-symbols-start nil prettify-symbols-end nil) 19 27 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 27 31 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 31 32 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 32 36 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 36 37 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 37 40 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 40 42 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 42 56 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 56 59 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 59 63 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 63 65 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 65 82 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 82 84 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 84 87 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 87 88 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 88 93 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 93 107 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 107 109 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 109 115 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 115 125 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 125 128 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 128 130 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 130 133 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 133 144 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 144 159 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 159 168 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 168 178 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 178 192 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 192 194 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 194 202 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 202 205 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 205 222 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 222 228 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 228 251 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 251 253 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 253 263 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 263 273 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 273 280 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 280 282 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 282 285 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 285 296 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 296 303 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 303 312 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 312 322 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 322 336 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 336 338 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 338 346 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 346 349 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 349 366 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 366 372 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 372 395 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 395 397 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 397 414 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 414 424 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 424 434 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 434 436 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 436 439 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 439 450 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 450 460 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 460 487 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 487 489 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 489 497 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 497 500 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 500 517 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 517 523 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 523 546 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 546 548 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 548 556 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 556 583 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 583 612 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 612 644 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 644 646 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 646 654 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 654 657 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 657 674 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 674 680 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 680 703 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 703 705 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 705 711 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 711 721 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 721 735 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 735 737 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 737 739 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 739 754 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 754 760 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 760 765 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 765 780 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 780 792 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 792 794 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 794 795 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 795 796 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-negation-char-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 796 815 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 815 821 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 821 844 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 844 846 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 846 857 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 857 867 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 867 878 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 878 889 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 889 904 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 904 932 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 932 934 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 934 947 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 947 957 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 957 962 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 962 964 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 964 967 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 967 978 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 978 992 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 992 1001 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1001 1011 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1011 1038 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1038 1040 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1040 1048 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1048 1051 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1051 1068 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1068 1074 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1074 1097 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1097 1099 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1099 1107 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1107 1134 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1134 1140 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1140 1141 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1141 1146 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1146 1165 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1165 1167 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1167 1180 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1180 1207 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1207 1213 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1213 1217 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1217 1219 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1219 1220 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1220 1227 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1227 1237 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1237 1239 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1239 1251 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1251 1277 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1277 1283 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1283 1298 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1298 1300 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1300 1301 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1301 1310 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1310 1320 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1320 1322 (fontified nil font-lock-multiline t org-emphasis t font-lock-fontified t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1322 1323 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1323 1334 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1334 1374 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1374 1380 (fontified nil font-lock-fontified t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil src-block t) 1380 1389 (fontified nil font-lock-fontified t font-lock-multiline t face (org-block) src-block t) 1389 1402 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 4517) (4503 . 4507) (#(" " 0 8 (fontified nil)) . -4501) (4489 . 4501) (#(" " 0 12 (fontified nil)) . -4482) (4466 . 4482) (#(" " 0 8 (fontified nil)) . -4450) (4438 . 4450) (#(" " 0 12 (fontified nil)) . -4401) (4385 . 4401) (#(" " 0 12 (fontified nil)) . -4374) (4358 . 4374) (#(" " 0 12 (fontified nil)) . -4348) (4332 . 4348) (#(" " 0 12 (fontified nil)) . -4317) (4301 . 4317) (#(" " 0 12 (fontified nil)) . -4250) (4234 . 4250) (#(" " 0 8 (fontified nil)) . -4173) (4161 . 4173) (#(" " 0 8 (fontified nil)) . -4117) (4105 . 4117) (#(" " 0 8 (fontified nil)) . -4052) (4040 . 4052) (#(" " 0 8 (fontified nil)) . -4038) (4026 . 4038) (#(" " 0 12 (fontified nil)) . -4019) (4003 . 4019) (#(" " 0 8 (fontified nil)) . -3987) (3975 . 3987) (#(" " 0 8 (fontified nil)) . -3952) (3940 . 3952) (#(" " 0 6 (fontified nil)) . -3927) (3917 . 3927) (#(" " 0 4 (fontified nil)) . -3898) (3890 . 3898) (#(" " 0 2 (fontified nil)) . -3881) (3875 . 3881) (3865 . 3869) (3822 . 3826) (3803 . 3807) (3803 . 4428) (#(" #+begin_src go - //删除一些无关代码.会在goroutine 获取到信号后,开始执行case - for { - select { - case <-FasterDone: - // 首先获取到auth - auth, err := Auth(opt) - if err != nil { - return - } - //在这里调用router的 swapExactTokensFroTokens,而第一个参数就是auth - // 在上面view的请求中,我们可以直接传空,但是如果要付Gas,就要从此地址扣钱. - tx, err := opt.RouterInstance.SwapExactTokensForTokens(auth, - pkg.ToEthers(opt.BuyAmount, opt.Decimal).BigInt(), - big.NewInt(0), - opt.Path, - auth.From, - big.NewInt(time.Now().Unix()+20*60)) - if err != nil { - return - } - #+end_src" 0 18 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 3843) 18 19 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line composition nil prettify-symbols-start nil prettify-symbols-end nil) 19 25 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 25 27 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 27 64 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 64 70 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 70 73 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 73 84 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 84 90 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 90 103 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 103 107 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 107 134 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 134 137 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 137 147 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 147 161 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 161 165 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 165 167 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 167 170 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 170 174 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 174 178 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 178 198 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 198 200 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 200 208 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 208 211 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 211 232 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 232 238 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 238 269 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 269 271 (fontified nil font-lock-fontified t src-block t font-lock-multiline t org-emphasis t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 271 322 (fontified nil font-lock-fontified t src-block t font-lock-multiline t org-emphasis t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 322 336 (fontified nil font-lock-fontified t src-block t font-lock-multiline t org-emphasis t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 336 338 (fontified nil font-lock-fontified t src-block t font-lock-multiline t org-emphasis t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 338 339 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 339 380 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 380 388 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 388 394 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 394 396 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 396 398 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 398 401 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 401 424 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 424 448 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 448 477 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 477 485 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 485 514 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 514 520 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 520 546 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 546 552 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 552 636 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 636 642 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 642 648 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 648 651 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 651 654 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 654 658 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 658 683 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 683 685 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 685 693 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 693 696 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 696 717 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 717 723 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 723 740 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block)) 740 753 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 3803) (3789 . 3793) (3783 . 3787) (#(" " 0 4 (fontified nil)) . -3751) (3743 . 3751) (3719 . 3723) (3713 . 3717) (#(" " 0 4 (fontified nil)) . -3706) (3698 . 3706) (3678 . 3682) (3505 . 3509) (#(" " 0 4 (fontified nil)) . -3467) (3459 . 3467) (3453 . 3457) (#(" " 0 4 (fontified nil)) . -3446) (3438 . 3446) (3418 . 3422) (3308 . 3312) (#(" " 0 3 (fontified nil)) . -3271) (3264 . 3271) (3258 . 3262) (#(" " 0 4 (fontified nil)) . -3251) (3243 . 3251) (3223 . 3227) (3167 . 3171) (#(" " 0 4 (fontified nil)) . -3152) (3144 . 3152) (3109 . 3113) (3090 . 3094) (3090 . 3718) (#(" #+begin_src go - func TestFlash(t *testing.T) { - //建立 client 链接 - ci, err := ethclient.Dial(\"https://evm.cronos.org\") - if err != nil { - return - } - //使用Erc20合约生成的go文件,链接这个token,获得Store - pinstance, err := platform.NewStore(common.HexToAddress(\"0x66e428c3f67a68878562e79A0234c1F83c20870\"), ci) - if err != nil { - return - } - //使用此Store来调用Allowance,查询有多少Approve数量 - in, err := pinstance.Allowance(nil, common.HexToAddress(\"0x545c2f7689bd45f8c9b78b6756f13580165e6d4\"), common.HexToAddress(\"0x145677FC4d9b8F19B5D56d1820c48e0443049a30\")) - if err != nil { - return - } - t.Logf(in.String()) - // 这就是最简单的一个交互,没有授权,一个只是view的请求 - } - #+end_src" 0 18 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 3092) 18 19 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line composition nil prettify-symbols-start nil prettify-symbols-end nil) 19 25 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 25 29 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 29 30 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 30 39 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 39 40 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 40 41 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 41 43 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 43 52 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-type-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 52 66 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 66 68 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 68 81 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 81 87 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 87 89 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 89 91 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 91 94 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 94 108 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 108 112 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 112 113 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 113 114 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 114 135 (fontified nil help-echo "LINK: https://evm.cronos.org" htmlize-link (:uri "https://evm.cronos.org") font-lock-fontified t src-block t mouse-face highlight keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 135 136 (fontified nil rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) help-echo "LINK: https://evm.cronos.org" htmlize-link (:uri "https://evm.cronos.org") font-lock-fontified t src-block t mouse-face highlight keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 136 137 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 137 145 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 145 147 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 147 152 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 152 155 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 155 158 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 158 171 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 171 177 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 177 195 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 195 197 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 197 232 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 232 238 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 238 247 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 247 249 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 249 252 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 252 265 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 265 273 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 273 281 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 281 293 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 293 294 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 294 337 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 337 350 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 350 352 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 352 360 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 360 363 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 363 376 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 376 382 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 382 401 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 401 403 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 403 439 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 439 445 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 445 447 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 447 449 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 449 452 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-variable-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 452 466 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 466 475 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 475 476 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 476 479 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 479 488 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 488 500 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 500 501 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 501 544 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 544 554 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 554 566 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 566 567 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 567 611 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-string-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 611 620 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 620 622 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 622 630 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 630 633 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-constant-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 633 646 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 646 652 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-keyword-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 652 669 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 669 673 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 673 677 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 677 683 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-function-name-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 683 697 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 697 700 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-delimiter-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 700 729 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (font-lock-comment-face org-block) composition nil prettify-symbols-start nil prettify-symbols-end nil) 729 737 (fontified nil font-lock-fontified t src-block t font-lock-multiline t face (org-block)) 737 750 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 3090) (3075 . 3079) (3054 . 3058) (3019 . 3023) (2986 . 2990) (2955 . 2959) (2926 . 2930) (2882 . 2886) (2824 . 2828) (2807 . 2811) (2807 . 3052) (#(" #+begin_src - 使用一个现有的很简单的项目来讲解,此项目可以在github.com/rzry/flashDeal 找到源码 - 项目分层为下图.cmd 存放main.go internal 存放主要实现. - pkg 存放了我们上一步生成的一些go的文件. - - 此项目是监控Swap池子余量,在池子最开始的时候抢跑 - (这个失败机率很大,已经被废弃了,请勿用于主网链上.) - - 项目就是监控池子余量, 根据path 来发起swap的请求. - 我们主要来看授权 , 以及调用. - #+end_src" 0 15 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 2810) 15 16 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line) 16 206 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 206 210 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 210 267 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 267 280 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 2807) (2626 . 2630) (2603 . 2607) (2557 . 2561) (2485 . 2489) (2433 . 2437) (2404 . 2408) (2387 . 2391) (2387 . 2611) (#(" #+begin_src - 接下来使用abigen 即可生成 go 文件 . - abigen --bin=uniswap_sol_IMeerkatRouter02.bin \\ - --abi=uniswap_sol_IMeerkatRouter02.abi --pkg=Store --out=router.go - - 那这个文件就是go 来链接链上Router合约,以及调用Router合约方法的文件 - 同理生成factory合约文件... - #+end_src" 0 15 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 2391) 15 16 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line) 16 238 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 238 251 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 2387) (2220 . 2224) (2182 . 2186) (2165 . 2169) (2165 . 2221) (#(" #+begin_src - 再运行图中命令,即可生成 bin 文件 . 同理生成 abi 文件 - #+end_src" 0 15 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 2170) 15 16 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line) 16 54 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 54 67 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 2165) (1998 . 2002) (1986 . 1990) (1964 . 1968) (1926 . 1930) (1875 . 1879) (1834 . 1838) (1817 . 1821) (1817 . 1983) (#(" #+begin_src - 这个问题,你首先要确定你的npm 读的是那个 solc ,然后才能解决. - 如果未在truffle项目内 npm init -f .那直接删除掉全局的npm内的solc - 再使用npm install -g solc@0.6.0就可以了. - 当然solc-select也可以. - 下图为演示步骤 - #+end_src" 0 15 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 1823) 15 16 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line) 16 180 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 180 193 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 1817) (1651 . 1655) (1625 . 1629) (1584 . 1588) (1546 . 1550) (1529 . 1533) (1529 . 1644) (#(" #+begin_src - 在 contracts 文件夹 touch uniswap.sol - copy 代码进去. 修改默认的truffle-config.js版本. - 如果你顺利的话应该能碰到这种版本错误的问题 - #+end_src" 0 15 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 1536) 15 16 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line) 16 121 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 121 134 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 1529) (1363 . 1367) (1314 . 1318) (1275 . 1279) (1253 . 1257) (1199 . 1203) (1182 . 1186) (1182 . 1352) (#(" #+begin_src - 一个小技巧,很多链这个没法复制,可以点击More Options --> Compare 来复制. - 保存到truffle的一个文件夹. - 关于truffle的使用,就不啰嗦了,可以翻看具体之前项目内的文档. - 一些工具的推荐,solc-select(pip install),可以切换solc的版本 - #+end_src" 0 15 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 1190) 15 16 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line) 16 180 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 180 193 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 1182) (1016 . 1020) (929 . 933) (859 . 863) (805 . 809) (788 . 792) (788 . 1009) (#(" #+begin_src - 很多链上很多swap都是使用uniswap V2的代码,比如pancake,sushi,mm... - 我们直接使用uniswap的router02以及factory 就可以了,具体的代码github里面就有,也可以直接复制下面的代码 - https://cronoscan.com/address/0x145677fc4d9b8f19b5d56d1820c48e0443049a30#contracts - #+end_src" 0 15 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 797) 15 16 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line) 16 144 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 144 225 (fontified nil face (:inherit (org-block)) mouse-face highlight keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) help-echo "LINK: https://cronoscan.com/address/0x145677fc4d9b8f19b5d56d1820c48e0443049a30#contracts" htmlize-link (:uri "https://cronoscan.com/address/0x145677fc4d9b8f19b5d56d1820c48e0443049a30#contracts") font-lock-multiline t font-lock-fontified t) 225 226 (fontified nil rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) face (:inherit (org-block)) mouse-face highlight keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) help-echo "LINK: https://cronoscan.com/address/0x145677fc4d9b8f19b5d56d1820c48e0443049a30#contracts" htmlize-link (:uri "https://cronoscan.com/address/0x145677fc4d9b8f19b5d56d1820c48e0443049a30#contracts") font-lock-multiline t font-lock-fontified t) 226 227 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 227 240 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 788) (469 . 634) (#("#+begin_src - 对于一个Web3.0的开发者,Golang的需求是很大的 - 很多时候需要使用Golang来和链交互操作,来完成一些请求操作. - 那Golang怎么和链交互呢? - 本文以BSC网络(类ETH)的Dex抢跑程序,以及抢购公开铸造NFT程序的部分代码来交互链上数据. - 来看一下整体的流程是如何的. -#+end_src" 0 11 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line org-reference 469) 11 12 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-begin-line) 12 165 (fontified nil font-lock-fontified t font-lock-multiline t face (:inherit (org-block))) 165 174 (fontified nil font-lock-fontified t font-lock-multiline t face org-block-end-line)) . 469) (nil org-reference nil 11505 . 11516) (nil org-reference nil 7823 . 7841) (nil org-reference nil 6357 . 6375) (nil org-reference nil 6167 . 6182) (nil org-reference nil 6000 . 6015) (nil org-reference nil 4597 . 4615) (nil org-reference nil 3843 . 3861) (nil org-reference nil 3092 . 3110) (nil org-reference nil 2810 . 2825) (nil org-reference nil 2391 . 2406) (nil org-reference nil 2170 . 2185) (nil org-reference nil 1823 . 1838) (nil org-reference nil 1536 . 1551) (nil org-reference nil 1190 . 1205) (nil org-reference nil 797 . 812) (nil org-reference nil 469 . 480) (t . 0) (1 . 11803) (t . 0)) nil (25173 20108 176073 0) 0 nil]) -nil